ElliottLandsborough / dog-ceo-api

The API hosted at dog.ceo
https://dog.ceo/api
631 stars 65 forks source link

Endpoints for Get Informations not working #7

Closed oismaelash closed 5 years ago

oismaelash commented 6 years ago

Endpoints:

  1. https://dog.ceo/api/breed/breed/{breed} - Get information of breed getbreed

  2. https://dog.ceo/api/breed/breed/{breed}/{breed2} - Get information of sub-breed getsubbreed

Documentation of endpoints: https://github.com/ElliottLandsborough/dog-ceo-api

ElliottLandsborough commented 6 years ago

Hi @IsmaelNascimento, thanks for your feedback!

If you look at the link below you will see that yaml files have only been provided for 'spaniel' and 'cocker-spaniel'.

YAML Files: https://github.com/ElliottLandsborough/dog-ceo-api/tree/master/content/breed-info

Endpoint examples: https://dog.ceo/api/breed/spaniel https://dog.ceo/api/breed/spaniel/cocker

I do not have time to write descriptions for all the different breed types but if you would like to submit some descriptions via a pull request we would be happy to 'vet' them.

uodami commented 5 years ago

Hi, Where is the contents folder? I can't find it, I might be interested in writing descriptions for breeds.

Cheers

ElliottLandsborough commented 5 years ago

This has been neglected since the rewrite a few months ago. I will get a new repository up ASAP so that people can contribute information files again.

ElliottLandsborough commented 5 years ago

@imad93 here is a repo: https://github.com/ElliottLandsborough/dog-ceo-api-content

Haven't had any time to write any guidelines - here's a few basic ones:

a) yaml file names must match breed names in api b) yaml files must be valid yaml c) required/only keys are 'name' and 'info'

It could probably be automated somehow assuming the source of the information is doesn't have any licensing issues.