Skip to content
aYOUne
← ads API

FuelPriceAlerts

Singular: FuelPriceAlert — Base URL: https://ads-api.ayoune.app — Access: CRUD — Machine-readable spec (JSON · YAML)

Try it now beta

Requests are proxied through the consumer-app to *.ayoune.app. Tokens stay in your browser and are forwarded per call.

Endpoints

MethodPathDescriptionRight
GET /fuelpricealerts List with filters/pagination ads.fuelpricealerts.view
GET /fuelpricealerts/:id Single record ads.fuelpricealerts.view
POST /fuelpricealerts Create new record ads.fuelpricealerts.new
PUT /fuelpricealerts Update record ads.fuelpricealerts.edit
DELETE /fuelpricealerts/:id Delete record ads.fuelpricealerts.delete

SDK

import { aYOUne } from '@tolinax/ayoune';
const ay = new aYOUne('pat_your_token');

// List all
const list = await ay.ads.fuelPriceAlerts.find().limit(10).exec();

// Single record
const one = await ay.ads.fuelPriceAlerts.findById('OBJECT_ID').exec();

// Create
const created = await ay.ads.fuelPriceAlerts.create({ name: 'Foo' });

See also