The official sdk for the user-friendly API of Mega services on the Dart language.

Overview

megasdkdart

The official sdk for the user-friendly API of Mega services in the Dart language.

Example:

import 'package:megasdkdart/megasdkdart.dart';

void main() async {
  // Initializing the sdk. You can work from multiple accounts,
  // then create multiple instances in different variables
  final sdk = MegaSDK();

  // Be sure to log in to the system
  await sdk.auth.signIn('login', 'password');

  // You can get information on the account using
  await sdk.users.get();
  //Or pass the person's id to it
  await sdk.users.get(1);

  // To work with notify methods, use
  await sdk.notify.notifications.create(title: 'title');
  await sdk.notify.notifications.edit(id: 1, title: '2');
  await sdk.notify.notifications.delete(1);
  await sdk.notify.folders.getAll();
  await sdk.notify.folders.get(1);

  // As well as many other methods that you need to read
  // about in the instructions of this library.
  // For a better understanding of the SDK,
  // I advise you to read the official website with API documentation.

  // Please note that all functions are asynchronous

  // And also note that some functions return values. You can get them like this
  var data = await sdk.auth.signIn('login', 'password');
  print(data);
  //   {
  //     "id": 1253705143,
  //     "auth_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MTI1MzcwN...",
  //     "refresh_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MTI1..."
  // }
  print(data['id']);
  // 1253705143

  // Enjoy your use :)
}

Server:

https://github.com/meg4cyberc4t/mega_api/blob/main/README.md

You might also like...

Adopt a friendly pet or item

Adopt a friendly pet or item

android_register Registering users on Android Getting Started $ flutter clean $ flutter upgrade $ flutter pub get $ flutter run App on pre registratio

Apr 28, 2021

Your friendly neighborhood application.

Welcome to Aas Pass 👋 Inspiration Time and again we have observed an on-the-spot need for borrowing daily devices, enquiring about essential services

May 30, 2021

A beginner friendly flutter app displaying the time across various cities in the world.

A beginner friendly flutter app displaying the time across various cities in the world.

World Time App in FLUTTER My first kinda big Flutter project. It is a revision of all basics and some advanced concepts of Flutter I've learnt so far.

Nov 11, 2022

Tiny mobile-friendly scrollytelling library

Tiny mobile-friendly scrollytelling library

scrollytell This is a tiny JavaScript library for creating animations that synchronize with scrolling. It uses requestAnimationFrame to check the scro

Nov 7, 2022

A API integrated 5 day weather forecast and prediction application created using flutter framework and Dart language.

A API integrated 5 day weather forecast and prediction application created using flutter framework and Dart language. This API used here is OPEN WEATHER API, which specializes in predicting the weather of any city in this world.

Dec 26, 2021

A Flutter project that implemented getx package and firebase services.

A Flutter project that implemented getx package and firebase services.

Get X Firebase A Flutter Package that implemented firebase services with getx package. It's free, open source, complete, rapid development package for

Nov 26, 2022

Sorting Visualizer using Flutter followed MVVM Pattern and used Stacked Services. Hope you like it 😋

Sorting Visualizer using Flutter followed MVVM Pattern and used Stacked Services. Hope you like it 😋

Sortlizer An App to visualize various sorting algorithms...Developed using Flutter, followed MVVM pattern, and used stacked services. Play Store Link

Dec 28, 2022

Firebase services with flutter

Firebase services with flutter

Ejemplo de Firebase Autenticación Firestore Bases de datos en tiempo real (chat)

Dec 14, 2021

P2P payment solution using Stream's Flutter SDK and Rapyd's Wallet API

P2P payment solution using Stream's Flutter SDK and Rapyd's Wallet API

Peer-to-peer payment integration to a messaging app using Flutter 💰 This project shows how to integrate a peer-to-peer payment solution to your Strea

Dec 8, 2022
Releases(1.0.0)
  • 1.0.0(Nov 21, 2021)

    This is the sdk for the server. (https://github.com/meg4cyberc4t/mega_api) You can raise it yourself and organize your own network, or you can just connect to my server. The SDK allows you to interact with the API through classes and methods, which is more convenient. I will be glad to evaluate if you like it. Give this repository a "Star" if it was useful to you!

    Source code(tar.gz)
    Source code(zip)
Owner
meg4cyberc4t
Geek ITsafety / Mobile Dev
meg4cyberc4t
Stream Feed official Flutter SDK. Build your own feed experience using Dart and Flutter.

Official Flutter packages for Stream Activity Feeds The official Dart client for Stream Activity Feeds, a service for building activity feed applicati

Stream 67 Sep 26, 2022
Pensil Community official Flutter SDK. Build your own community experience using Dart and Flutter.

Official flutter package for Pensil The official Dart client for Pensil communities, a service for building communites applications. This library can

Pensil Inc 6 Oct 6, 2022
Official plugin for using Thepeer SDK with flutter https://thepeer.co

Flutter Thepeer This package makes it easy to use the Thepeer in a flutter project. ?? Screen Shots ?? How to Use plugin ThePeer Send Launch ThepeerSe

The Peer 23 Dec 27, 2022
Official Flutter SDK for Khalti Payment systems

Khalti Payment Gateway for Flutter Use Khalti Payment Gateway solution in your app or website to simplify payment for your customers. You do not need

Khalti 16 Oct 13, 2022
Official sdk for vchat

V_Chat_SDK Micro service Check Our Full documention VCHAT DOCS Quick Review Android IOS Don't forget to see the example attached to github here V_CHAT

Hatem Ragab 42 Dec 17, 2022
Official plugin for using Thepeer SDK with flutter https://thepeer.co

Flutter Thepeer This package makes it easy to use the Thepeer in a flutter project. ?? Screen Shots ?? How to Use plugin Adding MaterialSupport Add th

Thepeer 23 Dec 27, 2022
Task List application developed in Dart language with SDK Flutter for Android, iOS and Web

Task List application developed in Dart language with SDK (Software Development Kit) Flutter for Android, iOS and Web.

João Bruno 2 Jun 2, 2022
null 357 Dec 27, 2022
Tooling and libraries for processing dart test output into dev-friendly formats

better_test_reporter Introduction This is an application/library heavily inspired by dart-junitreport and dart-testreport. It takes what was done in t

Betterment 6 Sep 14, 2022
Friendly-Chat - Simple text messaging app coded in Dart using the Flutter framework

Friendly Chat A mobile application coded in the Dart programming language using

Vladislav Kostic 3 May 15, 2022