Skip to content

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

License

Notifications You must be signed in to change notification settings

insilica/anystyle-api

 
 

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Nix 75.6%
  • Ruby 20.6%
  • Dockerfile 3.8%