marcelscruz / public-apis

A collaborative list of public APIs for developers
https://publicapis.dev
MIT License
3.13k stars 322 forks source link

Feature Request: add Status to the main column #288

Open braboobssiere opened 6 months ago

braboobssiere commented 6 months ago

the current table column are: API Description Auth HTTPS CORS

it would be nice to have a "Status" column to check availability of the link in the API column (maybe ping to check every hour?) and display them as Online/Offline text in the main table (reason being some site replaced api doc, or even discontinued the service itself)

marcelscruz commented 6 months ago

That's a good idea, but I believe I column for that isn't necessary. Instead, we just remove the API if it's not available anymore. At the moment, users already report when something is not working, so I keep an eye on it for a few days, and if it's still broken, it's removed altogether. A script to do this check automatically would be a good addition to the project. Would you be up to create a PR for that?

vrajjbhatt commented 6 months ago

Can I work upon that?

marcelscruz commented 6 months ago

@vrajjbhatt sure! I recommend using a GitHub action that triggers daily in a given time and creates a new issue in case a link is broken, but feel free to put your spin on it.