-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ruby client for API #17
Comments
👍 |
Awesome! Let's create a repo |
Have either you made any headway on this ? I've started to writing a client too |
I did not start working on it yet, my plan was to procrastinate until May 15 😳 |
Hi, I'm on a workshop in Lithuania until the 15th. My Ruby is not great, but I can help. Perhaps discuss the structure? Or are you doing a port of one of the existing clients? |
It will probably take the form of something similar to the Python client. Though I don't mind discussing structure as you guys are more likely users of the client. Any thoughts? |
I would just steal heavily from Python client |
a start to the client |
@gete76 I am trying to gemify the client this weekend -- https://github.com/GlobalNamesArchitecture/idigbio-ruby-client |
Ok, though its not complete and we would probably want the listed gem to point to the idigbio organization for the client |
@dimus nice work! |
While doing refactoring I found that gem moved away so much that I decided to rewrite it from scratch https://github.com/GlobalNamesArchitecture/idigbio_client So far it is still pretty much the same functionlaity that Greg put together, but broken into 4 distinct groups -- search, show, inpect and stats. Now I am figuring out what happened with code climate, it did have glitches last few months, and it suddently changed rating from 4 to 1 ;D |
@gete76, I can move gem to iDigBio, let me know what do you guys want, I also do have a few questions if you can have a quick Google Hangout or something |
yeah, I can Hangout, whats your gmail address? On Tue, May 19, 2015 at 1:42 PM, Dmitry Mozzherin [email protected]
|
mine is greg.traub at gmail |
@dimus, API now supports view/[UUID] endpoint for object discovery with top level key "type" |
I announced first release of the iDigBio client Ruby gem: https://globalnamesarchitecture.github.io/idigbio/api/2015/05/20/idigbio-client.html |
Great! Looks like its already gotten some downloads. |
@dimus '# setting offset: will return only 5 records, assuming 10 were done before' if there are more then 25 total records matching the 'rq' param then it would return 15. Offset is just where to start counting from. So in this case it would return records 11-25 in the result set that matches 'rq' |
This explanation describes current behavior, let me change the behavior then |
I published v0.1.2 which does: # setting offset: will start count for 15 records from 11th result
params = { rq: { genus: "acer" }, limit: 15, offset: 10 }
IdigbioClient.search(params: params) |
I will try to make it happen before the hackathon
The text was updated successfully, but these errors were encountered: