Comments (7)
https://{server}/api/magazine/name/{magazine name}
Are you able to give an example of a public mbin instance (and magazine name if discovering one is non-trivial) we can call this on?
from shields.
You can use the following;
Instance: fedia.io
Magazine: teletext
from shields.
https://fedia.io/m/teletext for easier access.
from shields.
OK, just to clarify (I have no familiarity with Mbin) there are multiple Mbin instances aside from https://fedia.io ?
One thing I notice is that if I call https://fedia.io/api/magazine/name/teletext (and if I look at the docs), it seems like there are rate limits on this API and it looks like fedia.io applies a rate limit of 60 reqs per minute with anonymous access.
Although I would not expect this to be a super popular service, that is quite a low rate limit. Even quite a small number of users could cause us to make more than that.
from shields.
Yes, there are others although I'm not sure if there is a list of them anywhere. Kbin.run is another example.
from shields.
Mbin instaces: https://fedidb.org/software/mbin
Kbin instances: https://fedidb.org/software/kbin
from shields.
I guess the worry here is hitting the rate limits on popular instances.
Just having a look at other fediverse services (mastodon, lemmy) as a reasonable-ish point of comparison: In the last hour we've served just over 1000 from the origin for both of those so a rate limit of 60 reqs/minute per instance seems like its in a ballpark where Mbin/Kbin badges could get as widely used as mastodon/lemmy currently are and we'd be mostly under the limits - especially if there are multiple instances in play. It does risk being a flaky integration at times though.
I'm inclined to say go with it. We do need to care about rate limits, but not every service is going to be NPM.
from shields.
Related Issues (20)
- Funkwhale badges HOT 6
- Pre-release filter for Maven Central HOT 1
- App Center badges HOT 3
- Buildkite badges HOT 1
- Clayton badges HOT 1
- Node 22 CI workflows failing HOT 2
- CodeScene badges HOT 2
- deepscan badge HOT 4
- Deepsource badges HOT 3
- Project Discovery Badges HOT 2
- Chinese translating HOT 2
- GitHub Lines Of Code badge HOT 2
- Cache and case in parameter Url HOT 1
- MDN HTTP Observatory is launched, and Mozilla Observatory is now deprecated. HOT 5
- Wheelmap badges broken HOT 3
- Pivotal Tracker badges
- Cross-Origin-Resource-Policy not set
- Why is the windows logo gone? HOT 2
- Add ability to format bytes as metric (e.g: kilobyte) or IEC (e.g: kibibyte) format HOT 6
- Go modules showing the same version number HOT 3
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 shields.