Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/moralcode/snipeit-flutter

A Flutter library for interacting with the SnipeIT API
https://github.com/moralcode/snipeit-flutter

asset-management flutter snipe-it

Last synced: 14 days ago
JSON representation

A Flutter library for interacting with the SnipeIT API

Awesome Lists containing this project

README

        

# SnipeIT Flutter API Wrapper

This is a library that intends to make it easier to interact with the [SnipeIT API](https://snipe-it.readme.io/reference/api-overview).

## Usage

```dart
import 'package:snipeit/snipeit.dart';

SnipeIT snipeitapi = SnipeIT(
url:"https://develop.snipeitapp.com",
accessToken: "eyJ0eXAiOiJK......."
);

//get locations
List = locations = await snipeitapi.getLocations()

```

## Building the library for development
This library relies on some generated code to perform json serialization. This code can be generated with `dart run build_runner build`