Comment on Show HN: Given an API, Generate client libraries in Node, Python, PHP, RubyComments−johnnyio12yDescribing an API is not hard, but the API authentication method is. How do you think you will do it?Edit : If you don't make oauth consumption simpler, you don't really solve the problem−sunkarapkOP12yCurrently, I am supporting 3 authentication strategies. Basic, Token in header and OAUTH.These will cover most of the APIs. And I am open to include other kind of authentication strategies too.https://github.com/pksunkara/alpaca#authorization-strategiesEDIT: OAUTH Consumption is not the main priority here. The problem I intended to solve is automating the development and maintaing of API client libraries in several different languages.That said, I intend to add support for OAUTH consumption too.
Comments
Describing an API is not hard, but the API authentication method is. How do you think you will do it?
Edit : If you don't make oauth consumption simpler, you don't really solve the problem
Currently, I am supporting 3 authentication strategies. Basic, Token in header and OAUTH.
These will cover most of the APIs. And I am open to include other kind of authentication strategies too.
https://github.com/pksunkara/alpaca#authorization-strategies
EDIT: OAUTH Consumption is not the main priority here. The problem I intended to solve is automating the development and maintaing of API client libraries in several different languages.
That said, I intend to add support for OAUTH consumption too.