-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5a0871b
commit 0c4bec7
Showing
11 changed files
with
102 additions
and
96 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,46 +1,52 @@ | ||
<div align="center"> | ||
<img src="https://user-images.githubusercontent.com/4144601/221289921-b5437f01-7b5c-415a-afd5-d49b926a9217.svg" alt="VeganCheck API logo" width="128"> | ||
<img src="https://user-images.githubusercontent.com/4144601/221289921-b5437f01-7b5c-415a-afd5-d49b926a9217.svg" alt="Veganify API logo" width="128"> | ||
|
||
# VeganCheck.me API (v0.3) | ||
# Veganify API (v0.5) | ||
|
||
The official API powering [VeganCheck.me](https://github.com/frontendnetwork/vegancheck.me). | ||
The official API powering [Veganify](https://github.com/frontendnetwork/veganify). | ||
|
||
<br /> | ||
|
||
![postman_dark](https://user-images.githubusercontent.com/4144601/232414583-466b133f-ef98-457b-a478-88f53e2e91cd.png#gh-dark-mode-only) | ||
![postman_light](https://user-images.githubusercontent.com/4144601/232414600-76809abb-9ace-4801-8787-e116526da4e1.png#gh-light-mode-only) | ||
|
||
</div> | ||
|
||
## Documentation | ||
## Documentation | ||
|
||
Please refer to [VeganCheck.me API Documentation](https://frontendnet.work/vegancheck-api) for a full documentation. | ||
Please refer to [Veganify API Documentation](https://frontendnet.work/veganify-api) for a full documentation. | ||
|
||
To learn more about this repo, head to: [https://frontendnetwork.github.io/VeganCheck.me-API/](https://frontendnetwork.github.io/VeganCheck.me-API/). | ||
To learn more about this repo, head to: [https://frontendnetwork.github.io/Veganify-API/](https://frontendnetwork.github.io/Veganify-API/). | ||
|
||
There is an official [Wrapper for React available on npm](https://www.npmjs.com/package/@frontendnetwork/vegancheck). | ||
|
||
### Swagger | ||
[![Validate OpenAPI.yml](https://github.com/frontendnetwork/VeganCheck.me-API/actions/workflows/validate.yml/badge.svg)](https://github.com/JokeNetwork/VeganCheck.me-API/actions/workflows/validate.yml) | ||
|
||
The [`OpenAPI.yml`](https://github.com/frontendnetwork/VeganCheck.me-API/blob/main/OpenAPI.yaml) is automatically available in [this Swagger UI](https://staging.api.vegancheck.me/api-docs). | ||
[![Validate OpenAPI.yml](https://github.com/frontendnetwork/veganify-API/actions/workflows/validate.yml/badge.svg)](https://github.com/JokeNetwork/Veganify-API/actions/workflows/validate.yml) | ||
|
||
The [`OpenAPI.yml`](https://github.com/frontendnetwork/Veganify-API/blob/main/OpenAPI.yaml) is automatically available in [this Swagger UI](https://staging.api.veganify.app/api-docs). | ||
|
||
### Postman | ||
|
||
Postman Collection is available for download here: [VeganCheck API.postman_collection.json.zip](https://github.com/frontendnetwork/VeganCheck.me-API/files/11247406/VeganCheck.API.postman_collection.json.zip) | ||
Postman Collection is available for download here: [Veganify API.postman_collection.json.zip](https://github.com/frontendnetwork/Veganify-API/files/11247406/VeganCheck.API.postman_collection.json.zip) | ||
|
||
### API Endpoints | ||
|
||
> **Warning** <br /> | ||
> All endpoints are only accessible via HTTPS. All HTTP requests will be rerouted to HTTPS.<br /> | ||
> All endpoints are only accessible via HTTPS. All HTTP requests will be rerouted to HTTPS.<br /> | ||
> Making a request over HTTP may cause data to be transmitted unencrypted for a short time and the server to send a `301` code. | ||
#### Available endpoints | ||
The following endpoints are available within the VeganCheck.me API: | ||
- POST: <https://api.vegancheck.me/v0/product/{barcode}> | ||
- GET: <https://api.vegancheck.me/v0/ingredients/{ingredientslist}> | ||
- GET: <https://api.vegancheck.me/v0/peta/crueltyfree> | ||
|
||
The following endpoints are available within the Veganify API: | ||
|
||
- POST: <https://api.veganify.app/v0/product/{barcode}> | ||
- GET: <https://api.veganify.app/v0/ingredients/{ingredientslist}> | ||
- GET: <https://api.veganify.app/v0/peta/crueltyfree> | ||
|
||
#### Unavailable endpoints | ||
The following endpoints are currently unavailable within the public VeganCheck.me API. They're not on the roadmap and will not be published: | ||
- <del>GET: [https://api.vegancheck.me/v0/peta/veganapproved](https://api.vegancheck.me/v0/peta/veganapproved)</del> | ||
- <del>POST: <https://api.vegancheck.me/v0/grades/backend></del> | ||
|
||
The following endpoints are currently unavailable within the public Veganify API. They're not on the roadmap and will not be published: | ||
|
||
- <del>GET: [https://api.veganify.app/v0/peta/veganapproved](https://api.veganify.ap/v0/peta/veganapproved)</del> | ||
- <del>POST: <https://api.veganify.app/v0/grades/backend></del> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.