hackernews_api 0.0.2 copy "hackernews_api: ^0.0.2" to clipboard
hackernews_api: ^0.0.2 copied to clipboard

outdated

A Flutter package of Hacker News API for accessing top and new stories.

Version

A Flutter package of Hacker News API for accessing top and new stories.

⭐ Installing #

dependencies:
    updater: ^0.0.2

⚡ Import #

import 'package:hackernews_api/hackernews_api.dart';

Properties #

newsType → NewsType

NewsType #

NewsType.topStories
NewsType.newStories

📙 How To Use #

HackerNews news = HackerNews(
    newsType: NewsType.newStories,
);
    
List<Story> story = await news.getStories();
6
likes
0
pub points
63%
popularity

Publisher

verified publishermarsad.dev

A Flutter package of Hacker News API for accessing top and new stories.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, http

More

Packages that depend on hackernews_api