Browse Source

Merge branch 'master' into feature/brawl-stars-api

pull/1238/head
Matheus Felipe 4 years ago
committed by GitHub
parent
commit
53caff1205
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 6 deletions
  1. +0
    -4
      README.md
  2. +1
    -1
      build/requirements.txt
  3. +1
    -1
      build/validate_links.py

+ 0
- 4
README.md View File

@@ -1,7 +1,5 @@
# Public APIs [![Run tests](https://github.com/public-apis/public-apis/workflows/Run%20tests/badge.svg)](https://github.com/public-apis/public-apis/actions?query=workflow%3A%22Run+tests%22) [![Validate links](https://github.com/public-apis/public-apis/workflows/Validate%20links/badge.svg?branch=master)](https://github.com/public-apis/public-apis/actions?query=workflow%3A%22Validate+links%22)

![Run tests](https://github.com/public-apis/public-apis/workflows/Run%20tests/badge.svg?branch=master)

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
- 1
build/requirements.txt View File

@@ -1,2 +1,2 @@
flake8>=3.5.0
httplib2==0.9.2
httplib2==0.18.0

+ 1
- 1
build/validate_links.py View File

@@ -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:


Loading…
Cancel
Save