classyfire_api/README.md

44 lines
1.4 KiB
Markdown
Raw Normal View History

2014-07-09 23:02:34 +01:00
[**ClassyFire**](http://classyfire.wishartlab.com) is a resource that allows you to automatically classify any chemical compound based on its structure. This is the repository for the ClassyFire API allows you to send requests to and pull information from the ClassyFire web server.
2014-07-09 22:41:04 +01:00
2014-07-09 23:43:34 +01:00
# **What is this repository for?** #
2014-07-09 22:41:04 +01:00
* Quick summary
* Version
* [Learn Markdown](https://bitbucket.org/tutorials/markdowndemo)
2014-07-09 23:43:34 +01:00
# **How do I get set up?** #
2014-07-09 22:41:04 +01:00
* Summary of set up
* Configuration
* Dependencies
* Database configuration
* How to run tests
* Deployment instructions
2014-07-09 23:43:34 +01:00
# **Contribution guidelines** #
2014-07-09 22:41:04 +01:00
* Writing tests
* Code review
* Other guidelines
2014-07-09 23:32:43 +01:00
2014-07-09 23:42:11 +01:00
# **Endpoints** #
2014-07-10 00:08:59 +01:00
## Entities
2014-07-10 00:07:39 +01:00
> /entities
> > GET
> > > You can retrieve a chemical compound's classification in the JSON or XML format. The compound's information is accessed via the InChIkey as show in the following examples. In this example, the entity has the InChIKey=LABTWGUMFABVFG-ONEGZZNKSA-N.
> > >
> > > curl -H "Accept: application/json" -H "Content-Type: application/json" -X GET http://localhost:3000/entities/LABTWGUMFABVFG-ONEGZZNKSA-N.json
> > >
> > > curl -H "Accept: application/json" -H "Content-Type: application/json" -X GET http://localhost:3000/entities/LABTWGUMFABVFG-ONEGZZNKSA-N.json
2014-07-09 23:43:34 +01:00
# **Directory Structure** #
2014-07-09 22:41:04 +01:00
2014-07-09 23:39:28 +01:00
* lib
2014-07-09 23:35:05 +01:00
2014-07-09 23:43:34 +01:00
# **Who do I talk to?** #
2014-07-09 22:41:04 +01:00
* Repo owner or admin
* Other community or team contact