apis-json / api-json

APIS.json an API discovery format
http://apisjson.org/
MIT License
111 stars 23 forks source link

API origin as country attribute #61

Open kyyberi opened 9 years ago

kyyberi commented 9 years ago

We have national API catalogue PoC at apisuomi.fi and we would love to use apis.io as base for all APIs and pull Finland origin APIs to catalogue via apis.io API. I took a look at the spec but I was not able to find any attribute that would be something like origin or country. Such attribute (not mandatory) would enable API listing filtering.

kyyberi commented 9 years ago

Perhaps this could be applied http://problem-xml.sourceforge.net/schemaReference/schemas/vcard_xsd/elements/ADR.html

<vCard:adr>
    <vCard:street>Perston House</vCard:street>
    <vCard:locality>Perston</vCard:locality>
    <vCard:region>Perstonshire</vCard:region>
    <vCard:pcode>P1 0NS</vCard:pcode>
    <vCard:country>Finland</vCard:country>
</vCard:adr>

or as simple as: Country: Finland

kinlane commented 9 years ago

This is definitely something I will be considering for inclusion in next release. Doing review for it this week. Thanks for suggesting.

kyyberi commented 9 years ago

Excellent, thanks.

kinlane commented 9 years ago

I'm going to reopen until i get into spec.