Better HN
topnewbestaskshowjobs
Log inSign up

sunkarapk

621 karma · joined Sep 12, 2011 (15y ago) · 40 submissions

Submissions

comment 12y ago · link · parent

Currently Reading:

Good Strategy, Bad Strategy https://www.goodreads.com/book/show/11721966-good-strategy-b...

comment 12y ago · link · parent

People from assembly fronts the initial costs of running a company/product and take 25% of the profits every month once it's profitable.

Their FAQ is at https://assembly.com/help/basics

comment 12y ago · link · parent

No, as far as I know, alpaca is the first of its type. As the author of the code, I can guarantee good quality of the generated client code. I have written the templates such that they follow their respective language conventions and ecosystems.

comment 12y ago · link · parent

I think https://github.com/pksunkara/alpaca is a good starting point. Given a web API, it generates client libraries in ruby, python, php and node.js

5.

Show HN: Confy – Helping developers seperate config from code(assemblymade.com ↗)

1 points · by sunkarapk · 12y ago · discuss

comment 12y ago · link · parent

God and Luck both doesn't exist.

comment 12y ago · link · parent

I have been using this since the beginning for my open source project https://github.com/pksunkara/alpaca. They provide very good support. And the features are awesome.

Short story, Gitter is awesome!

https://gitter.im/pksunkara/alpaca

comment 12y ago · link · parent

Have you guys looked at https://github.com/pksunkara/alpaca to generate API client libraries (SDK) instead of spending time on developing them?

comment 12y ago · link · parent

You can go through the generated code examples at https://github.com/alpaca-api.

I tried to make them a lot more readable. :)

comment 12y ago · link · parent

If you are talking about API definition, there need not be many changes since api.json do not define any objects.

If you are talking about the code of the program, they wont be changed because, the program just compiles and executes the templates.

If I didnt answer your question properly, could you please elaborate?

comment 12y ago · link · parent

I agree its nice to do it that way. But I found that not all APIs use hypermedia format. So, I did it this way. :)

comment 12y ago · link · parent

I am just a single guy. I always make a point to reply back to issues/pull-requests on my open source projects within 24hrs.

Yes, sometimes I fail to make it. But it's a rule I want to live by.

comment 12y ago · link · parent

JSON Schema is too complex for this project. I just chose the fields which needs to be populated so that I can generate the code.

comment 12y ago · link · parent

Tests is one of the main priority and I am planning to do them soon.

This current program just a small step in the right direction. :)

EDIT: Currently, I have a test suite at https://github.com/pksunkara/alpaca/tree/testing which tests the generated client libraries of an example API with the respective server.

comment 12y ago · link · parent

Being a WSDL is not the aim here. Generating client libraries in multiple programming languages is.

But, to do that I need a format using which people can define their API. I used JSON and only supported the elements that I needed to generate the client libraries.

comment 12y ago · link · parent

I tried searching for a program which generates client libraries in different programming languages and failed.

Could you please link if something does it? From what I gather, the above mentioned sites only provide methods of describing the API and/or Automating the API on the server side. Nothing is said about client libraries.

Thanks

comment 12y ago · link · parent

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.

comment 12y ago · link · parent

Author here. I covered almost everything in the documentation. And there is also a small example which is hosted at https://github.com/alpaca-api.

Please ask if you have any questions. Thanks

19.

Show HN: Given an API, Generate client libraries in Node, Python, PHP, Ruby(github.com ↗)

268 points · by sunkarapk · 12y ago · 73 comments

comment 13y ago · link · parent

The problem with these kind of competitions is replayability. I would love to see a programming game which is PvP and has good replayability.

comment 13y ago · link · parent

Something like this what I think github needs. Github should complement developers working using the cli. (git-send-email, git-format-patch, git-am). I hope they concentrate on this soon.

22.

G+ allows others to email you without knowing the email address(blog.sujeet.me ↗)

1 points · by sunkarapk · 13y ago · discuss

23.

Nodejitsu: Paid Individual Plans now available(blog.nodejitsu.com ↗)

1 points · by sunkarapk · 14y ago · discuss

24.

Resource reflection in Flatiron(blog.nodejitsu.com ↗)

4 points · by sunkarapk · 14y ago · discuss

25.

Nodejitsu is now in public beta(blog.nodejitsu.com ↗)

13 points · by sunkarapk · 14y ago · discuss

26.

Show HN: octonode, nodejs lib for github v3 api(github.com ↗)

1 points · by sunkarapk · 14y ago · discuss

12