Add links to GitHub API
This commit is contained in:
@@ -36,6 +36,10 @@ type alias ResultId =
|
||||
Int
|
||||
|
||||
|
||||
|
||||
{- See https://developer.github.com/v3/search/#example -}
|
||||
|
||||
|
||||
initialModel : Model
|
||||
initialModel =
|
||||
{ query = "tutorial"
|
||||
|
||||
@@ -43,6 +43,10 @@ type alias ResultId =
|
||||
Int
|
||||
|
||||
|
||||
|
||||
{- See https://developer.github.com/v3/search/#example -}
|
||||
|
||||
|
||||
initialModel : Model
|
||||
initialModel =
|
||||
{ query = "tutorial"
|
||||
|
||||
@@ -57,6 +57,7 @@ searchResultDecoder : Decoder SearchResult
|
||||
searchResultDecoder =
|
||||
Json.Decode.object3
|
||||
SearchResult
|
||||
-- See https://developer.github.com/v3/search/#example
|
||||
("TODO what field goes here?" := Json.Decode.int)
|
||||
("TODO what field goes here?" := Json.Decode.string)
|
||||
("TODO what field goes here?" := Json.Decode.int)
|
||||
|
||||
Reference in New Issue
Block a user