You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

CONTRIBUTING.md 3.2 KiB

8 年之前
8 年之前
8 年之前
8 年之前
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. # Contributing to public-apis
  2. > While the masses of pull requests and community involvement is appreciated, some pull requests have been specifically
  3. opened to market company APIs that offer paid solutions. This API list is not a marketing tool, but a tool to help the
  4. community build applications and use free, public APIs quickly and easily. Pull requests that are identified as marketing attempts will not be accepted.
  5. >
  6. > Thanks for understanding! :)
  7. ##Formatting
  8. Current API entry format:
  9. | API | Description | Auth | HTTPS | Link |
  10. | --- | --- | --- | --- |
  11. | API Title | Description of API | Does this API require authentication? * | Does the API support HTTPS? | Link to API webpage |
  12. Example entry:
  13. ```
  14. | NASA | NASA data, including imagery | No | Yes | [Go!](https://api.nasa.gov) |
  15. ```
  16. Currently, the only accepted inputs for this field are as follows:
  17. * `OAuth` - _the API supports OAuth_
  18. * `apiKey` - _the API uses a private key string/token for authentication - try and use the correct parameter_
  19. * `X-Mashape-Key` - _the name of the header which may need to be sent_
  20. * `No` - _the API requires no authentication to run_
  21. Please continue to follow the alphabetical ordering that is in place per section.
  22. 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`.
  23. ##Pull Request
  24. After you've created a branch on your fork with your changes, it's time to [make a pull request][pr-link]!
  25. Once you’ve submitted a pull request, the collaborators can review your proposed changes and decide whether or not to incorporate (pull in) your changes.
  26. ###Pull Request Pro Tips
  27. * [Fork][fork-link] the repository and [clone][clone-link] it locally.
  28. Connect your local repository to the original `upstream` repository by adding it as a [remote][remote-link].
  29. Pull in changes from `upstream` often so that you stay up to date and so when you submit your pull request,
  30. merge conflicts will be less likely. See more detailed instructions [here][syncing-link].
  31. * Create a [branch][branch-link] for your edits.
  32. * Contribute in the style of the project as outlined above. This makes it easier for the collaborators to merge
  33. and for others to understand and maintain in the future.
  34. ###Open Pull Requests
  35. Once you’ve opened a pull request, a discussion will start around your proposed changes.
  36. Other contributors and users may chime in, but ultimately the decision is made by the collaborators.
  37. During the discussion, you may be asked to make some changes to your pull request.
  38. If so, add more commits to your branch and push them – they will automatically go into the existing pull request!
  39. [branch-link]: <http://guides.github.com/introduction/flow/>
  40. [clone-link]: <https://help.github.com/articles/cloning-a-repository/>
  41. [fork-link]: <http://guides.github.com/activities/forking/>
  42. [oauth-link]: <https://en.wikipedia.org/wiki/OAuth>
  43. [pr-link]: <https://help.github.com/articles/creating-a-pull-request/>
  44. [remote-link]: <https://help.github.com/articles/adding-a-remote/>
  45. [syncing-link]: <https://help.github.com/articles/syncing-a-fork>