You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
More precisely, I cannot figure out how to format the search query. The examples in the source show two different ways:
--- With prepended @q=@
searchRepos "q=a in%3Aname language%3Ahaskell created%3A>2013-10-01&per_page=100"-- Without prepended @q=@
searchRepos' (Just$BasicAuth"github-username""github-password') "a in%3Aname language%3Ahaskell created%3A>2013-10-01&per_page=100"
I do not understand why there are spaces and %3A chars. Moreover running the first query doesn't return any results on my machine (though no exception either), while the second one doesn't seem to be valid haskell.
I was able to build a simple query like the following:
However I am unable to add more parameters. By skimming over the code, it looks like q= might be prepended on the requests. How are the other URL parameters like sort=.. supposed to be handled?
Thanks in advance
The text was updated successfully, but these errors were encountered:
And seems IssueRepoMod doesn't have documentation either. Will refactor and add docs.
From the source, yes the 'Text' is a search string, i.e. the value of q query param. Adding sort etc. have to go lower level, i.e. unwrap Request and add them there manually
I'm having troubles performing a request with this simple example from the github doc:
More precisely, I cannot figure out how to format the search query. The examples in the source show two different ways:
I do not understand why there are spaces and
%3A
chars. Moreover running the first query doesn't return any results on my machine (though no exception either), while the second one doesn't seem to be valid haskell.I was able to build a simple query like the following:
However I am unable to add more parameters. By skimming over the code, it looks like
q=
might be prepended on the requests. How are the other URL parameters likesort=..
supposed to be handled?Thanks in advance
The text was updated successfully, but these errors were encountered: