0.0.9 • Published 3 years ago

axios-odata v0.0.9

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

Axios OData Client

Axios OData Client is a Fluent interface to fetch data with axios using OData Protocol.

Getting started

import ODataClient from 'axios-odata'
import axios from 'axios'

const http = axios.create()

const oclient = new ODataClient(http)

Basic Collection Fetch

oclient.query()
       .entities("People")
       .execute()

Basic Entity Fetch

oclient.query()
       .entity("People", 'russel')
       .execute()

Requesting complex property

oclient.query()
       .entity("Airports", "KSFO")
       .property("Location")

Donations

"Buy Me A Coffee"

0.0.9

3 years ago

0.0.8

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.1

3 years ago