treflehq / documentation Goto Github PK
View Code? Open in Web Editor NEWThe Trefle API documentation and reference
Home Page: https://docs.trefle.io
The Trefle API documentation and reference
Home Page: https://docs.trefle.io
Hey
So more of a question than an issue: how come in your docs you explain how to filter on various fields
https://trefle.io/api/v1/plants/search?q=apple&filter[edible]=true
But the response, while correct (I googled the responses and they are inedible / toxic), doesn't include the actual edible
field? Am I missing something to include all the fields?
Thanks
Hello!
I am trying to build an iOS app for a personal project. Is the database still usable with images and all?
Thank you!
Some image links are broken, find a way to automate a weekly check of the image links, and drop them if invalid
Problem
Docs here say there will be 30 results per page. However, I am getting 20 results per page when querying /api/v1/plants
.
There are 377570 results, at 20 results per page the last page is 18879. This is accurately reflected on the links.last property of the response, which is "last":"/api/v1/plants?page=18879
.
The same issue applies to /api/v1/plants/search
endpoints, I have not tried other endpoints.
Hi,
So I was following along the curl tutorial with curl and I got an error when doing the first call with a query param
curl: (3) bad range in URL position
Which happens because curl can't take the bracket by default, so you need to pass the -g
or --globoff
flag to make the call works.
To reproduce, make this call through curl:
curl 'https://trefle.io/api/v1/plants?token=YOUR_TOKEN&filter[common_name]=beach%20strawberry'
Notice the error. Then run the same command, but add the -g
flag and it works!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.