Comments (4)
Yes indeed, I thought about that. This was just for some small optimization. I'll use this solution then
Thanks!
from animechan.
It's not configurable at the moment. And the default number is set to 10 to prevent spamming and for faster response time. But I may consider making it configurable in the fufure.
from animechan.
Ok, no problem. I was asking this to be able to request only 1 quote, with anime filters, because there doesn't seem to have one in the /api/random
endpoint
from animechan.
That makes sense. But you can just slice the array down to 1 from the default 10 response. That will be the same thing as making it configurable to get only 1 response.
from animechan.
Related Issues (20)
- [Question] How do/did you add the quotes? HOT 2
- Fetching from the API returns an internal server error HOT 3
- Incorrect character specification
- List of existing animes with quotes. HOT 1
- Portrait For Characters HOT 1
- animechan is down HOT 8
- Golang wrapper HOT 1
- Unable to access animechan HOT 2
- showing too many requests error on hitting this url - "https://animechan.xyz/api/random", status code:429 HOT 9
- Unable to access documentation (also possibly the API) HOT 2
- List with all animes and characters available on the API HOT 1
- Requests Returning Error 429: Too many requests HOT 1
- API not working? HOT 3
- 429 too many requests
- Unexpected downtime. HOT 1
- Use ssh-action for ec2 connection and instance command execute
- Migration to MySQL has changed the API HOT 4
- Internal server error response from api HOT 3
- Question Regarding Animechan Deployment HOT 2
- No error when getting an invalid title query HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from animechan.