mirror of
https://github.com/FranP-code/public-apis.git
synced 2025-10-13 00:03:04 +00:00
Merge branch 'master' into feature/brawl-stars-api
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
# Public APIs [](https://github.com/public-apis/public-apis/actions?query=workflow%3A%22Run+tests%22) [](https://github.com/public-apis/public-apis/actions?query=workflow%3A%22Validate+links%22)
|
||||
|
||||

|
||||
|
||||
A collective list of free APIs for use in software and web development.
|
||||
|
||||
A public API for this project can be found [here](https://github.com/davemachado/public-api)!
|
||||
@@ -67,7 +65,6 @@ API | Description | Auth | HTTPS | CORS |
|
||||
| [HTTPCat](https://http.cat/) | Cat for every HTTP Status | No | Yes | Unknown |
|
||||
| [IUCN](http://apiv3.iucnredlist.org/api/v3/docs) | IUCN Red List of Threatened Species | `apiKey` | No | Unknown |
|
||||
| [Movebank](https://github.com/movebank/movebank-api-doc) | Movement and Migration data of animals | No | Yes | Unknown |
|
||||
| [Petfinder](https://www.petfinder.com/developers/v2/docs/) | Adoption | `OAuth` | Yes | Yes |
|
||||
| [PlaceGOAT](https://placegoat.com/) | Placeholder goat images | No | Yes | Unknown |
|
||||
| [RandomCat](https://aws.random.cat/meow) | Random pictures of cats | No | Yes | Yes |
|
||||
| [RandomDog](https://random.dog/woof.json) | Random pictures of dogs | No | Yes | Yes |
|
||||
@@ -374,7 +371,6 @@ API | Description | Auth | HTTPS | CORS |
|
||||
API | Description | Auth | HTTPS | CORS |
|
||||
|---|---|---|---|---|
|
||||
| [Age of Empires II](https://age-of-empires-2-api.herokuapp.com) | Get information about Age of Empires II resources | No | Yes | Unknown |
|
||||
| [AmiiboAPI](https://www.amiiboapi.com/) | Amiibo Information | No | No | Yes |
|
||||
| [Brawl Stars](https://developer.brawlstars.com) | Brawl Stars Game Information | `apiKey` | Yes | Unknown |
|
||||
| [Chuck Norris Database](http://www.icndb.com/api/) | Jokes | No | No | Unknown |
|
||||
| [Clash of Clans](https://developer.clashofclans.com) | Clash of Clans Game Information | `apiKey` | Yes | Unknown |
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
flake8>=3.5.0
|
||||
httplib2==0.9.2
|
||||
httplib2==0.18.0
|
||||
|
||||
@@ -24,7 +24,7 @@ def validate_links(links):
|
||||
for link in links:
|
||||
h = httplib2.Http(disable_ssl_certificate_validation=True, timeout=25)
|
||||
try:
|
||||
resp = h.request(link, headers={'user-agent': 'python-httplib2/0.9.2'})
|
||||
resp = h.request(link, headers={'user-agent': 'python-httplib2/0.18.0'})
|
||||
code = int(resp[0]['status'])
|
||||
# check if status code is a client or server error
|
||||
if code >= 404:
|
||||
|
||||
Reference in New Issue
Block a user