hacker_news_client v0.2.0 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
ask_stories()
deprecated
best_stories()
deprecated
Takes story id returns available story information
job_stories()
deprecated
new_stories()
deprecated
show_stories()
deprecated
Returns up to 100 stories of the following types
Returns up to specified quantity of stories of the following types
Returns ids of stories with given type as list of integers Available types are
top_stories()
deprecated
Takes user id as string and returns available information
Link to this section Functions
Link to this function
ask_stories()
This function is deprecated. ask_stories/0 is deprecated use stories/1.
Link to this function
best_stories()
This function is deprecated. best_stories/0 is deprecated use stories/1.
Link to this function
item(item_id)
Takes story id returns available story information
Link to this function
job_stories()
This function is deprecated. job_stories/0 is deprecated use stories/1.
Link to this function
new_stories()
This function is deprecated. new_stories/0 is deprecated use stories/1.
Link to this function
show_stories()
This function is deprecated. show_stories/0 is deprecated use stories/1.
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
stories(type, quantity)
Returns up to specified quantity of 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
Link to this function
top_stories()
This function is deprecated. top_stories/0 is deprecated use stories/1.
Link to this function
user(user_id)
Takes user id as string and returns available information