hacker_news_client v0.1.1 HackerNewsClient
API client for Hacker News API For more information checkout the project at https://github.com/nevadajames/elixir_hacker_news
Link to this section Summary
Functions
Takes story id as string and returns JSON string
Returns up to 100 stories of the following types
Returns ids of stories with given type as list of integers Available types are
Link to this section Functions
Link to this function
get_item(item_id)
Takes story id as string and returns JSON string
Link to this function
stories(type)
Returns up to 100 stories of the following types:
- top
- best
- new
- job
- ask
- show
Link to this function
story_ids(type)
Returns ids of stories with given type as list of integers Available types are:
- top
- best
- new
- job
- ask
- show