Line 24: |
Line 24: |
| === Getting help with the API === | | === Getting help with the API === |
| You can ask for help on using the API in the [https://openfoodfacts.slack.com/messages/api/ #api channel on Slack]. Join us to discuss your use case and get help/code from other devs. | | You can ask for help on using the API in the [https://openfoodfacts.slack.com/messages/api/ #api channel on Slack]. Join us to discuss your use case and get help/code from other devs. |
− |
| |
| | | |
| == READ operations == | | == READ operations == |
Line 33: |
Line 32: |
| * You should use the SSL version of the API. <code>https://world.openfoodfacts.org</code> | | * You should use the SSL version of the API. <code>https://world.openfoodfacts.org</code> |
| * '''Please send a UserAgent HTTP Header''' with the name of the app/service querying, the version, system and an URL if you have one, so that you are not blocked by mistake (e.g. <code>UserAgent: CoolFoodApp - Android - Version 1.0 - https://coolfoodapp.com</code>) | | * '''Please send a UserAgent HTTP Header''' with the name of the app/service querying, the version, system and an URL if you have one, so that you are not blocked by mistake (e.g. <code>UserAgent: CoolFoodApp - Android - Version 1.0 - https://coolfoodapp.com</code>) |
− |
| |
| | | |
| == WRITE operations == | | == WRITE operations == |
Line 56: |
Line 54: |
| * fields that end with a language 2 letter code (e.g. fr for French) is the set of tags in that language | | * fields that end with a language 2 letter code (e.g. fr for French) is the set of tags in that language |
| * fields that end with _100g correspond to the amount of a nutriment (in g) for 100 g or 100 ml of product | | * fields that end with _100g correspond to the amount of a nutriment (in g) for 100 g or 100 ml of product |
− |
| |
| | | |
| == SDKs == | | == SDKs == |
Line 74: |
Line 71: |
| * [[API/Swift|Swift SDK]] | | * [[API/Swift|Swift SDK]] |
| Please help us bring Open Food Facts to your favorite language by contributing to SDK! | | Please help us bring Open Food Facts to your favorite language by contributing to SDK! |
− |
| |
| | | |
| == Licence == | | == Licence == |
Line 82: |
Line 78: |
| * Share any additions under the OdBL, back to the community. | | * Share any additions under the OdBL, back to the community. |
| Please join us on the Slack channel to discuss the legal and technical side of things :-) (https://slack.openfoodfacts.org) | | Please join us on the Slack channel to discuss the legal and technical side of things :-) (https://slack.openfoodfacts.org) |
− |
| |
| | | |
| == Roadmap == | | == Roadmap == |
| [[API/Roadmap]] | | [[API/Roadmap]] |
− |
| |
| | | |
| == Bugs == | | == Bugs == |
Line 97: |
Line 91: |
| * API bugs: https://github.com/openfoodfacts/openfoodfacts-server/labels/api | | * API bugs: https://github.com/openfoodfacts/openfoodfacts-server/labels/api |
| * API milestone: https://github.com/openfoodfacts/openfoodfacts-server/milestone/8 | | * API milestone: https://github.com/openfoodfacts/openfoodfacts-server/milestone/8 |
− |
| |
| | | |
| == Sister projects == | | == Sister projects == |