/anystyle-api

A very minimal Sinatra Ruby API server implementation of AnyStyle Gem to parse academic reference texts into CSL-JSON.

Primary LanguageNixMIT LicenseMIT

AnyStyle-Api

A very minimal Sinatra Ruby API server implementation of AnyStyle Gem to parse academic reference texts into CSL-JSON.

Usage

nix run github:insilica/anystyle-api

Development

clone this repo

  git clone https://github.com/kurdi-dev/anystyle-api.git

install the required Gems from the Gemfile

  bundle install

Spin up the server

  ruby main.rb -o 0.0.0.0

API Reference

Parse reference text

  POST /api/v1/parse
JSON Key Type Description
text string Required. reference text to be parsed into a json object

Contributing

Contributions are always welcome!

License

MIT