Skip to content

lpil/sturnidae

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sturnidae

Binding to Starling Bank's API.

Package Version Hex Docs

gleam add sturnidae
import sturnidae
import gleam/httpc

pub fn main() {
  // Build an API request
  let request =
    sturnidae.get_feed_items_request(
      personal_access_token,
      account_uid,
      category_uid,
      "2015-01-01T01:01:00.000Z",
    )

  // Send it with a HTTP client such as gleam_httpc
  let assert Ok(response) = |> httpc.send

  // Decode the response into Gleam data
  let assert Ok(items) = sturnidae.get_feed_items_response(response)
}

Further documentation can be found at https://hexdocs.pm/sturnidae.

About

Gleam bindings for Starling Bank's API

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages