https://github.com/avh4/elm-github-v3
Unofficial GitHub v3 API for Elm
https://github.com/avh4/elm-github-v3
Last synced: 4 months ago
JSON representation
Unofficial GitHub v3 API for Elm
- Host: GitHub
- URL: https://github.com/avh4/elm-github-v3
- Owner: avh4
- License: mit
- Created: 2019-02-25T05:11:56.000Z (over 6 years ago)
- Default Branch: main
- Last Pushed: 2021-10-19T04:18:10.000Z (over 3 years ago)
- Last Synced: 2025-02-11T13:51:15.282Z (5 months ago)
- Language: Elm
- Homepage: https://package.elm-lang.org/packages/avh4/elm-github-v3/latest/
- Size: 29.3 KB
- Stars: 8
- Watchers: 3
- Forks: 2
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://travis-ci.org/avh4/elm-github-v3)
[](https://package.elm-lang.org/packages/avh4/elm-github-v3/latest/)# elm-github-v3
This is an unofficial Elm wrapper for the [GitHub REST v3 API](https://developer.github.com/v3/).
The implementation is currently very incomplete
(I've only implemented the exact requests, input parameters, and output decode that I've needed),
but I decided to publish this in case it can save others some work.
Pull requests to make the implementation more complete are welcome.## Example usage
```sh
elm install avh4/elm-github-v3
``````elm
import GithubgetPullRequestTitles : Cmd (Result String (List String))
getPullRequestTitles =
Github.getPullRequests
{ authToken = "123..."
, repo = "avh4/elm-format"
}
|> Task.map (List.map .title)
|> Task.attempt identity
```