-
-
Notifications
You must be signed in to change notification settings - Fork 42
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
api list #130
Comments
Hello, Thank you for your kind words! There are already lists like https://github.com/public-apis/public-apis so I wouldn't be surprised if someone had already done it, needs a bit of searching however. Probably makes sense as its own list, and I would be happy to link to it from martian documentation. Cheers |
I have written a library that can be used to authorize apis that need oauth2 tokens. I am currently converting the rest apis to martian. I have implemented github google xero. I will post a link once I am done converting. |
Some comments after using martian for a few days:
|
rest apis that work with oauth2 and martian: https://github.com/pink-gorilla/webly/tree/master/oauth2/src/modular/rest/martian examples how to use the rest calls: What I dont like so much: the xero web api uses two custom header interceptors (on top of the oauth token header). |
How can I rewrite this header-interceptor so that it
|
Any idea on my interceptor issue? Thanks |
Hi, The e.g. (def add-modified-since-header
{:name ::add-modified-since-header
:enter (fn [ctx]
(assoc-in ctx
[:request :headers "If-Modified-Since"]
(get-in ctx [:params :modified-since])))}) We have strayed a bit from the original issue topic of api lists, I will close this issue but feel free to open another one to deal with a particular topic, thanks for your feedback. Cheers |
Thanks for the amazing martian library!
Its really an amazing design. Rest apis on the first look seem to be all the same.
But on a second look, they all have very small differences.
This customization is not easy to get done.
Martian solves it. Great design!
Now to my point: It would be great to have a list of publicly available pis that either bring open-api specs,
or to have a resource where apis that dont support open-api are fully speced.
If we could gradually build a list of many apis, then it would be much easier to do rest-apis in clojure.
I am pretty sure that there are already many of such speced apis out there.
Perhaps we could add them to a wiki?
The text was updated successfully, but these errors were encountered: