A very minimal Sinatra Ruby API server implementation of AnyStyle Gem to parse academic reference texts into CSL-JSON.
clone this repo
git clone https://github.com/kurdi-dev/anystyle-api.gitinstall the required Gems from the Gemfile
bundle installSpin up the server
ruby main.rb -o 0.0.0.0 GET /api/v1/parse| Parameter | Type | Description |
|---|---|---|
text |
string |
Required. reference text to be parsed into a json object |
Contributions are always welcome!