Raynes / tentacles

An Octocat is nothing without his tentacles

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Q: What is the preferred way to use adifferent github api?

keithmantell opened this issue · comments

for instance if I want to use e.g. https://api.github.xyz.com/ is this the correct/preferred method?

(binding [tentacles.core/url "https://api.github.xyz.com/"] (pp/pprint (users/me )))

@keithmantell look at the macro with-url in core.clj ( Pr #11) ..all in all your code snippet is right, but there already exists a macro within the library that does the same. Hope that answers your question.