Birth Chart API - Flutter

Birth Chart API with Flutter 💙

Integrate Birth Chart API into your Flutter application.

Installation

The SDK installs from GitHub, pinned to a release tag.

# pubspec.yaml
dependencies:
  vedika_sdk:
    git:
      url: https://github.com/vedika-io/vedika-sdk-flutter.git
      ref: v1.0.5

# then fetch it
flutter pub get

Example Code

import 'package:vedika_sdk/vedika_sdk.dart';

void main() async {
  final vedika = VedikaClient(apiKey: 'YOUR_API_KEY');
  final birth = BirthDetails(
    datetime: '1990-06-15T10:30:00',
    latitude: 18.5204,
    longitude: 73.8567,
    timezone: 'Asia/Kolkata',
  );

  final result = await vedika.astrology.birthChart(birth);
  print(result);

  vedika.dispose();
}

Anything compiled into a shipped app can be extracted, including the API key. For consumer apps, call the Vedika API from your own backend and keep the key on the server.

Get Started Free

Try our sandbox API with no authentication required

Try Sandbox Read Docs