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

outdated

Foursquare for Dart and Flutter, enabling location-based experiences for mobile, web, and server applications.

example/main.dart

import 'package:foursquare/foursquare.dart';

void main() async {
  // Used for userless requests
  API userless = await API.userless(
    'FOURSQUARE_CLIENT_ID', 
    'FOURSQUARE_CLIENT_SECRET');

  // Used for authenticated requests
  API authed = await API.authed('OAUTH_ACCESS_TOKEN');

  Venue current = await Venue.current(userless, 43.6532, -79.3832);
  print('I am at ${current.name}.');

  User self = await User.get(authed);
  print('I am ${self.firstName} ${self.lastName}.');
}
7
likes
0
pub points
0%
popularity

Publisher

verified publishermatthewhuie.com

Foursquare for Dart and Flutter, enabling location-based experiences for mobile, web, and server applications.

Homepage

License

unknown (LICENSE)

Dependencies

http

More

Packages that depend on foursquare