1
mirror of https://github.com/public-apis/public-apis synced 2024-12-05 07:45:17 +01:00
public-apis/CONTRIBUTING.md
2017-08-05 16:59:59 -04:00

3.8 KiB
Raw Blame History

Contributing to public-apis

While the masses of pull requests and community involvement is appreciated, some pull requests have been specifically opened to market company APIs that offer paid solutions. This API list is not a marketing tool, but a tool to help the community build applications and use free, public APIs quickly and easily. Pull requests that are identified as marketing attempts will not be accepted.

Thanks for understanding! :)

Formatting

Current API entry format:

API Description Auth HTTPS Link
API Title Description of API Does this API require authentication? * Does the API support HTTPS? Link to API webpage

Example entry:

| NASA | NASA data, including imagery | No | Yes | [Go!](https://api.nasa.gov) |

Currently, the only accepted inputs for this field are as follows:

  • OAuth - the API supports OAuth
  • apiKey - the API uses a private key string/token for authentication - try and use the correct parameter
  • X-Mashape-Key - the name of the header which may need to be sent
  • No - the API requires no authentication to run

Please continue to follow the alphabetical ordering that is in place per section.

If an API seems to fall into multiple categories, please place the listing within the section most in line with the services offered through the API. For example, the Instagram API is listed under Social since it is mainly a social network, even though it could also apply to Photography.

This project now offers a JSON version of the list of services. These files are automatically updated as part of the Continuous Integration process, so there is no need to update them as part of the contribution.

Pull Request

After you've created a branch on your fork with your changes, it's time to make a pull request!

Once youve submitted a pull request, the collaborators can review your proposed changes and decide whether or not to incorporate (pull in) your changes.

Pull Request Pro Tips

  • Fork the repository and clone it locally. Connect your local repository to the original upstream repository by adding it as a remote. Pull in changes from upstream often so that you stay up to date and so when you submit your pull request, merge conflicts will be less likely. See more detailed instructions here.
  • Create a branch for your edits.
  • Contribute in the style of the project as outlined above. This makes it easier for the collaborators to merge and for others to understand and maintain in the future.

Open Pull Requests

Once youve opened a pull request, a discussion will start around your proposed changes.

Other contributors and users may chime in, but ultimately the decision is made by the collaborators.

During the discussion, you may be asked to make some changes to your pull request.

If so, add more commits to your branch and push them they will automatically go into the existing pull request!

Opening a pull request will trigger a Travis CI build to check the validity of all links in the project. After the build completes, please ensure that the build has passed. If the build did not pass, please view the Travis CI log and correct any errors that were found in your contribution.

Thanks for being a part of this project, and we look forward to hearing from you soon!