Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kevinmichaelchen/chomp-proxy
A gRPC / Connect proxy to Chomp's Food API
https://github.com/kevinmichaelchen/chomp-proxy
Last synced: about 1 month ago
JSON representation
A gRPC / Connect proxy to Chomp's Food API
- Host: GitHub
- URL: https://github.com/kevinmichaelchen/chomp-proxy
- Owner: kevinmichaelchen
- Created: 2022-12-11T16:15:14.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2022-12-12T16:14:48.000Z (about 2 years ago)
- Last Synced: 2024-06-21T16:45:15.074Z (6 months ago)
- Language: Go
- Homepage: https://buf.build/kevinmichaelchen/chompapis/docs/main
- Size: 30.3 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This is a simple [gRPC](https://grpc.io/) / [Connect](https://connect.build/)
proxy over the [Chomp API](https://chompthis.com/api/), which provides
high-quality data on over 875,000 grocery products, branded foods, and raw
ingredients in the United States, and all around the world.You browse the APIs [here](https://buf.build/kevinmichaelchen/chompapis/docs/main:chomp.v1beta1#chomp.v1beta1.ChompService).
## Getting an API token
Subscribe to Chomp's [Food API](https://chompthis.com/api/#pricing). You'll need
to supply some credit card information, but obtaining an API key should be
straight-forward.## Interacting with the API
Head over to Buf Studio and start making calls.
You'll need to set your key as the `api_key` header.* [Look up a food product by barcode](https://studio.buf.build/kevinmichaelchen/chompapis/main/chomp.v1beta1.ChompService/GetFood?target=https%3A%2F%2Fchomp-proxy.onrender.com)
* [Search for foods by name](https://studio.buf.build/kevinmichaelchen/chompapis/main/chomp.v1beta1.ChompService/ListFoods?target=https%3A%2F%2Fchomp-proxy.onrender.com)## Deployment
This is running on a free, 512MB [Render](https://render.com/) instance.