/pixabay

Unofficial Pixabay REST API for the Dart Langauge.

Primary LanguageDartBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

Unofficial Pixabay REST API for Dart

Usage

A simple usage example:

import 'package:pixabay/pixabay.dart';

main() async{
  var client = new PixabayClient(APIKey.value);
  
    var searchResult = await client.searchPhoto("aurora",
        language: SupportedLanguages.en, imgType: ImageTypes.photo);
  
    for (var p in searchResult.photos) {
      print(p.imageUrl);
    }
}

Features and bugs

Please file feature requests and bugs at the issue tracker.