Commit from GitHub Actions (Generate Clients & Examples)

This commit is contained in:
asim
2021-11-17 22:20:21 +00:00
parent ce58fd0fbe
commit ef70da5380
145 changed files with 145 additions and 145 deletions

View File

@@ -79,5 +79,5 @@
"prepare": "npm run build" "prepare": "npm run build"
}, },
"types": "index.d.ts", "types": "index.d.ts",
"version": "1.0.769" "version": "1.0.770"
} }

View File

@@ -1,4 +1,4 @@
const { AddressService } = require("m3o/address"); const { AddressService } = require("micro-js-client/address");
// Lookup a list of UK addresses by postcode // Lookup a list of UK addresses by postcode
async function lookupPostcode() { async function lookupPostcode() {

View File

@@ -1,4 +1,4 @@
const { AnswerService } = require("m3o/answer"); const { AnswerService } = require("micro-js-client/answer");
// Ask a question and receive an instant answer // Ask a question and receive an instant answer
async function askAquestion() { async function askAquestion() {

View File

@@ -1,4 +1,4 @@
const { CacheService } = require("m3o/cache"); const { CacheService } = require("micro-js-client/cache");
// Decrement a value (if it's a number). If key not found it is equivalent to set. // Decrement a value (if it's a number). If key not found it is equivalent to set.
async function decrementAvalue() { async function decrementAvalue() {

View File

@@ -1,4 +1,4 @@
const { CacheService } = require("m3o/cache"); const { CacheService } = require("micro-js-client/cache");
// Delete a value from the cache. If key not found a success response is returned. // Delete a value from the cache. If key not found a success response is returned.
async function deleteAvalue() { async function deleteAvalue() {

View File

@@ -1,4 +1,4 @@
const { CacheService } = require("m3o/cache"); const { CacheService } = require("micro-js-client/cache");
// Get an item from the cache by key. If key is not found, an empty response is returned. // Get an item from the cache by key. If key is not found, an empty response is returned.
async function getAvalue() { async function getAvalue() {

View File

@@ -1,4 +1,4 @@
const { CacheService } = require("m3o/cache"); const { CacheService } = require("micro-js-client/cache");
// Increment a value (if it's a number). If key not found it is equivalent to set. // Increment a value (if it's a number). If key not found it is equivalent to set.
async function incrementAvalue() { async function incrementAvalue() {

View File

@@ -1,4 +1,4 @@
const { CacheService } = require("m3o/cache"); const { CacheService } = require("micro-js-client/cache");
// Set an item in the cache. Overwrites any existing value already set. // Set an item in the cache. Overwrites any existing value already set.
async function setAvalue() { async function setAvalue() {

View File

@@ -1,4 +1,4 @@
const { CryptoService } = require("m3o/crypto"); const { CryptoService } = require("micro-js-client/crypto");
// Returns the history for the previous close // Returns the history for the previous close
async function getPreviousClose() { async function getPreviousClose() {

View File

@@ -1,4 +1,4 @@
const { CryptoService } = require("m3o/crypto"); const { CryptoService } = require("micro-js-client/crypto");
// Get news related to a currency // Get news related to a currency
async function getCryptocurrencyNews() { async function getCryptocurrencyNews() {

View File

@@ -1,4 +1,4 @@
const { CryptoService } = require("m3o/crypto"); const { CryptoService } = require("micro-js-client/crypto");
// Get the last price for a given crypto ticker // Get the last price for a given crypto ticker
async function getCryptocurrencyPrice() { async function getCryptocurrencyPrice() {

View File

@@ -1,4 +1,4 @@
const { CryptoService } = require("m3o/crypto"); const { CryptoService } = require("micro-js-client/crypto");
// Get the last quote for a given crypto ticker // Get the last quote for a given crypto ticker
async function getAcryptocurrencyQuote() { async function getAcryptocurrencyQuote() {

View File

@@ -1,4 +1,4 @@
const { CurrencyService } = require("m3o/currency"); const { CurrencyService } = require("micro-js-client/currency");
// Codes returns the supported currency codes for the API // Codes returns the supported currency codes for the API
async function getSupportedCodes() { async function getSupportedCodes() {

View File

@@ -1,4 +1,4 @@
const { CurrencyService } = require("m3o/currency"); const { CurrencyService } = require("micro-js-client/currency");
// Convert returns the currency conversion rate between two pairs e.g USD/GBP // Convert returns the currency conversion rate between two pairs e.g USD/GBP
async function convert10usdToGbp() { async function convert10usdToGbp() {

View File

@@ -1,4 +1,4 @@
const { CurrencyService } = require("m3o/currency"); const { CurrencyService } = require("micro-js-client/currency");
// Convert returns the currency conversion rate between two pairs e.g USD/GBP // Convert returns the currency conversion rate between two pairs e.g USD/GBP
async function convertUsdToGbp() { async function convertUsdToGbp() {

View File

@@ -1,4 +1,4 @@
const { CurrencyService } = require("m3o/currency"); const { CurrencyService } = require("micro-js-client/currency");
// Returns the historic rates for a currency on a given date // Returns the historic rates for a currency on a given date
async function historicRatesForAcurrency() { async function historicRatesForAcurrency() {

View File

@@ -1,4 +1,4 @@
const { CurrencyService } = require("m3o/currency"); const { CurrencyService } = require("micro-js-client/currency");
// Rates returns the currency rates for a given code e.g USD // Rates returns the currency rates for a given code e.g USD
async function getRatesForUsd() { async function getRatesForUsd() {

View File

@@ -1,4 +1,4 @@
const { DbService } = require("m3o/db"); const { DbService } = require("micro-js-client/db");
// Count records in a table // Count records in a table
async function countEntriesInAtable() { async function countEntriesInAtable() {

View File

@@ -1,4 +1,4 @@
const { DbService } = require("m3o/db"); const { DbService } = require("micro-js-client/db");
// Create a record in the database. Optionally include an "id" field otherwise it's set automatically. // Create a record in the database. Optionally include an "id" field otherwise it's set automatically.
async function createArecord() { async function createArecord() {

View File

@@ -1,4 +1,4 @@
const { DbService } = require("m3o/db"); const { DbService } = require("micro-js-client/db");
// Delete a record in the database by id. // Delete a record in the database by id.
async function deleteArecord() { async function deleteArecord() {

View File

@@ -1,4 +1,4 @@
const { DbService } = require("m3o/db"); const { DbService } = require("micro-js-client/db");
// Drop a table in the DB // Drop a table in the DB
async function dropTable() { async function dropTable() {

View File

@@ -1,4 +1,4 @@
const { DbService } = require("m3o/db"); const { DbService } = require("micro-js-client/db");
// List tables in the DB // List tables in the DB
async function listTables() { async function listTables() {

View File

@@ -1,4 +1,4 @@
const { DbService } = require("m3o/db"); const { DbService } = require("micro-js-client/db");
// Read data from a table. Lookup can be by ID or via querying any field in the record. // Read data from a table. Lookup can be by ID or via querying any field in the record.
async function readRecords() { async function readRecords() {

View File

@@ -1,4 +1,4 @@
const { DbService } = require("m3o/db"); const { DbService } = require("micro-js-client/db");
// Rename a table // Rename a table
async function renameTable() { async function renameTable() {

View File

@@ -1,4 +1,4 @@
const { DbService } = require("m3o/db"); const { DbService } = require("micro-js-client/db");
// Truncate the records in a table // Truncate the records in a table
async function truncateTable() { async function truncateTable() {

View File

@@ -1,4 +1,4 @@
const { DbService } = require("m3o/db"); const { DbService } = require("micro-js-client/db");
// Update a record in the database. Include an "id" in the record to update. // Update a record in the database. Include an "id" in the record to update.
async function updateArecord() { async function updateArecord() {

View File

@@ -1,4 +1,4 @@
const { EmailService } = require("m3o/email"); const { EmailService } = require("micro-js-client/email");
// Send an email by passing in from, to, subject, and a text or html body // Send an email by passing in from, to, subject, and a text or html body
async function sendEmail() { async function sendEmail() {

View File

@@ -1,4 +1,4 @@
const { EmojiService } = require("m3o/emoji"); const { EmojiService } = require("micro-js-client/emoji");
// Find an emoji by its alias e.g :beer: // Find an emoji by its alias e.g :beer:
async function findEmoji() { async function findEmoji() {

View File

@@ -1,4 +1,4 @@
const { EmojiService } = require("m3o/emoji"); const { EmojiService } = require("micro-js-client/emoji");
// Get the flag for a country. Requires country code e.g GB for great britain // Get the flag for a country. Requires country code e.g GB for great britain
async function getFlagByCountryCode() { async function getFlagByCountryCode() {

View File

@@ -1,4 +1,4 @@
const { EmojiService } = require("m3o/emoji"); const { EmojiService } = require("micro-js-client/emoji");
// Print text and renders the emojis with aliases e.g // Print text and renders the emojis with aliases e.g
// let's grab a :beer: becomes let's grab a 🍺 // let's grab a :beer: becomes let's grab a 🍺

View File

@@ -1,4 +1,4 @@
const { EmojiService } = require("m3o/emoji"); const { EmojiService } = require("micro-js-client/emoji");
// Send an emoji to anyone via SMS. Messages are sent in the form '<message> Sent from <from>' // Send an emoji to anyone via SMS. Messages are sent in the form '<message> Sent from <from>'
async function sendAtextContainingAnEmojiToAnyoneViaSms() { async function sendAtextContainingAnEmojiToAnyoneViaSms() {

View File

@@ -1,4 +1,4 @@
const { EvchargersService } = require("m3o/evchargers"); const { EvchargersService } = require("micro-js-client/evchargers");
// Retrieve reference data as used by this API and in conjunction with the Search endpoint // Retrieve reference data as used by this API and in conjunction with the Search endpoint
async function getReferenceData() { async function getReferenceData() {

View File

@@ -1,4 +1,4 @@
const { EvchargersService } = require("m3o/evchargers"); const { EvchargersService } = require("micro-js-client/evchargers");
// Search by giving a coordinate and a max distance, or bounding box and optional filters // Search by giving a coordinate and a max distance, or bounding box and optional filters
async function searchByBoundingBox() { async function searchByBoundingBox() {

View File

@@ -1,4 +1,4 @@
const { EvchargersService } = require("m3o/evchargers"); const { EvchargersService } = require("micro-js-client/evchargers");
// Search by giving a coordinate and a max distance, or bounding box and optional filters // Search by giving a coordinate and a max distance, or bounding box and optional filters
async function searchByLocation() { async function searchByLocation() {

View File

@@ -1,4 +1,4 @@
const { EvchargersService } = require("m3o/evchargers"); const { EvchargersService } = require("micro-js-client/evchargers");
// Search by giving a coordinate and a max distance, or bounding box and optional filters // Search by giving a coordinate and a max distance, or bounding box and optional filters
async function searchWithFiltersFastChargersOnly() { async function searchWithFiltersFastChargersOnly() {

View File

@@ -1,4 +1,4 @@
const { EventService } = require("m3o/event"); const { EventService } = require("micro-js-client/event");
// Consume events from a given topic. // Consume events from a given topic.
async function consumeFromAtopic() { async function consumeFromAtopic() {

View File

@@ -12,9 +12,9 @@ func PublishAnEvent() {
eventService := event.NewEventService(os.Getenv("MICRO_API_TOKEN")) eventService := event.NewEventService(os.Getenv("MICRO_API_TOKEN"))
rsp, err := eventService.Publish(&event.PublishRequest{ rsp, err := eventService.Publish(&event.PublishRequest{
Message: map[string]interface{}{ Message: map[string]interface{}{
"id": "1",
"type": "signup", "type": "signup",
"user": "john", "user": "john",
"id": "1",
}, },
Topic: "user", Topic: "user",
}) })

View File

@@ -1,4 +1,4 @@
const { EventService } = require("m3o/event"); const { EventService } = require("micro-js-client/event");
// Publish a event to the event stream. // Publish a event to the event stream.
async function publishAnEvent() { async function publishAnEvent() {

View File

@@ -1,4 +1,4 @@
const { EventService } = require("m3o/event"); const { EventService } = require("micro-js-client/event");
// Read stored events // Read stored events
async function readEventsOnAtopic() { async function readEventsOnAtopic() {

View File

@@ -1,4 +1,4 @@
const { FileService } = require("m3o/file"); const { FileService } = require("micro-js-client/file");
// Delete a file by project name/path // Delete a file by project name/path
async function deleteFile() { async function deleteFile() {

View File

@@ -1,4 +1,4 @@
const { FileService } = require("m3o/file"); const { FileService } = require("micro-js-client/file");
// List files by their project and optionally a path. // List files by their project and optionally a path.
async function listFiles() { async function listFiles() {

View File

@@ -1,4 +1,4 @@
const { FileService } = require("m3o/file"); const { FileService } = require("micro-js-client/file");
// Read a file by path // Read a file by path
async function readFile() { async function readFile() {

View File

@@ -1,4 +1,4 @@
const { FileService } = require("m3o/file"); const { FileService } = require("micro-js-client/file");
// Save a file // Save a file
async function saveFile() { async function saveFile() {

View File

@@ -1,4 +1,4 @@
const { ForexService } = require("m3o/forex"); const { ForexService } = require("micro-js-client/forex");
// Returns the data for the previous close // Returns the data for the previous close
async function getPreviousClose() { async function getPreviousClose() {

View File

@@ -1,4 +1,4 @@
const { ForexService } = require("m3o/forex"); const { ForexService } = require("micro-js-client/forex");
// Get the latest price for a given forex ticker // Get the latest price for a given forex ticker
async function getAnFxPrice() { async function getAnFxPrice() {

View File

@@ -1,4 +1,4 @@
const { ForexService } = require("m3o/forex"); const { ForexService } = require("micro-js-client/forex");
// Get the latest quote for the forex // Get the latest quote for the forex
async function getAfxQuote() { async function getAfxQuote() {

View File

@@ -1,4 +1,4 @@
const { FunctionService } = require("m3o/function"); const { FunctionService } = require("micro-js-client/function");
// Call a function by name // Call a function by name
async function callAfunction() { async function callAfunction() {

View File

@@ -1,4 +1,4 @@
const { FunctionService } = require("m3o/function"); const { FunctionService } = require("micro-js-client/function");
// Delete a function by name // Delete a function by name
async function deleteAfunction() { async function deleteAfunction() {

View File

@@ -1,4 +1,4 @@
const { FunctionService } = require("m3o/function"); const { FunctionService } = require("micro-js-client/function");
// Deploy a group of functions // Deploy a group of functions
async function deployAfunction() { async function deployAfunction() {

View File

@@ -1,4 +1,4 @@
const { FunctionService } = require("m3o/function"); const { FunctionService } = require("micro-js-client/function");
// Get the info for a deployed function // Get the info for a deployed function
async function describeFunctionStatus() { async function describeFunctionStatus() {

View File

@@ -1,4 +1,4 @@
const { FunctionService } = require("m3o/function"); const { FunctionService } = require("micro-js-client/function");
// List all the deployed functions // List all the deployed functions
async function listFunctions() { async function listFunctions() {

View File

@@ -1,4 +1,4 @@
const { GeocodingService } = require("m3o/geocoding"); const { GeocodingService } = require("micro-js-client/geocoding");
// Lookup returns a geocoded address including normalized address and gps coordinates. All fields are optional, provide more to get more accurate results // Lookup returns a geocoded address including normalized address and gps coordinates. All fields are optional, provide more to get more accurate results
async function geocodeAnAddress() { async function geocodeAnAddress() {

View File

@@ -1,4 +1,4 @@
const { GeocodingService } = require("m3o/geocoding"); const { GeocodingService } = require("micro-js-client/geocoding");
// Reverse lookup an address from gps coordinates // Reverse lookup an address from gps coordinates
async function reverseGeocodeLocation() { async function reverseGeocodeLocation() {

View File

@@ -1,4 +1,4 @@
const { GifsService } = require("m3o/gifs"); const { GifsService } = require("micro-js-client/gifs");
// Search for a GIF // Search for a GIF
async function search() { async function search() {

View File

@@ -1,4 +1,4 @@
const { GoogleService } = require("m3o/google"); const { GoogleService } = require("micro-js-client/google");
// Search for videos on Google // Search for videos on Google
async function searchForVideos() { async function searchForVideos() {

View File

@@ -1,4 +1,4 @@
const { HelloworldService } = require("m3o/helloworld"); const { HelloworldService } = require("micro-js-client/helloworld");
// Call returns a personalised "Hello $name" response // Call returns a personalised "Hello $name" response
async function callTheHelloworldService() { async function callTheHelloworldService() {

View File

@@ -1,4 +1,4 @@
const { HelloworldService } = require("m3o/helloworld"); const { HelloworldService } = require("micro-js-client/helloworld");
// Stream returns a stream of "Hello $name" responses // Stream returns a stream of "Hello $name" responses
async function streamsResponsesFromTheServerUsingWebsockets() { async function streamsResponsesFromTheServerUsingWebsockets() {

View File

@@ -1,4 +1,4 @@
const { HolidaysService } = require("m3o/holidays"); const { HolidaysService } = require("micro-js-client/holidays");
// Get the list of countries that are supported by this API // Get the list of countries that are supported by this API
async function listCountries() { async function listCountries() {

View File

@@ -1,4 +1,4 @@
const { HolidaysService } = require("m3o/holidays"); const { HolidaysService } = require("micro-js-client/holidays");
// List the holiday dates for a given country and year // List the holiday dates for a given country and year
async function getHolidays() { async function getHolidays() {

View File

@@ -1,4 +1,4 @@
const { IdService } = require("m3o/id"); const { IdService } = require("micro-js-client/id");
// Generate a unique ID. Defaults to uuid. // Generate a unique ID. Defaults to uuid.
async function generateAbigflakeId() { async function generateAbigflakeId() {

View File

@@ -1,4 +1,4 @@
const { IdService } = require("m3o/id"); const { IdService } = require("micro-js-client/id");
// Generate a unique ID. Defaults to uuid. // Generate a unique ID. Defaults to uuid.
async function generateAshortId() { async function generateAshortId() {

View File

@@ -1,4 +1,4 @@
const { IdService } = require("m3o/id"); const { IdService } = require("micro-js-client/id");
// Generate a unique ID. Defaults to uuid. // Generate a unique ID. Defaults to uuid.
async function generateAsnowflakeId() { async function generateAsnowflakeId() {

View File

@@ -1,4 +1,4 @@
const { IdService } = require("m3o/id"); const { IdService } = require("micro-js-client/id");
// Generate a unique ID. Defaults to uuid. // Generate a unique ID. Defaults to uuid.
async function generateAuniqueId() { async function generateAuniqueId() {

View File

@@ -1,4 +1,4 @@
const { IdService } = require("m3o/id"); const { IdService } = require("micro-js-client/id");
// List the types of IDs available. No query params needed. // List the types of IDs available. No query params needed.
async function listTheTypesOfIdsAvailable() { async function listTheTypesOfIdsAvailable() {

View File

@@ -1,4 +1,4 @@
const { ImageService } = require("m3o/image"); const { ImageService } = require("micro-js-client/image");
// Convert an image from one format (jpeg, png etc.) to an other either on the fly (from base64 to base64), // Convert an image from one format (jpeg, png etc.) to an other either on the fly (from base64 to base64),
// or by uploading the conversion result. // or by uploading the conversion result.

View File

@@ -1,4 +1,4 @@
const { ImageService } = require("m3o/image"); const { ImageService } = require("micro-js-client/image");
// Delete an image previously uploaded. // Delete an image previously uploaded.
async function deleteAnUploadedImage() { async function deleteAnUploadedImage() {

View File

@@ -1,4 +1,4 @@
const { ImageService } = require("m3o/image"); const { ImageService } = require("micro-js-client/image");
// Resize an image on the fly without storing it (by sending and receiving a base64 encoded image), or resize and upload depending on parameters. // Resize an image on the fly without storing it (by sending and receiving a base64 encoded image), or resize and upload depending on parameters.
// If one of width or height is 0, the image aspect ratio is preserved. // If one of width or height is 0, the image aspect ratio is preserved.

View File

@@ -1,4 +1,4 @@
const { ImageService } = require("m3o/image"); const { ImageService } = require("micro-js-client/image");
// Resize an image on the fly without storing it (by sending and receiving a base64 encoded image), or resize and upload depending on parameters. // Resize an image on the fly without storing it (by sending and receiving a base64 encoded image), or resize and upload depending on parameters.
// If one of width or height is 0, the image aspect ratio is preserved. // If one of width or height is 0, the image aspect ratio is preserved.

View File

@@ -1,4 +1,4 @@
const { ImageService } = require("m3o/image"); const { ImageService } = require("micro-js-client/image");
// Resize an image on the fly without storing it (by sending and receiving a base64 encoded image), or resize and upload depending on parameters. // Resize an image on the fly without storing it (by sending and receiving a base64 encoded image), or resize and upload depending on parameters.
// If one of width or height is 0, the image aspect ratio is preserved. // If one of width or height is 0, the image aspect ratio is preserved.

View File

@@ -1,4 +1,4 @@
const { ImageService } = require("m3o/image"); const { ImageService } = require("micro-js-client/image");
// Upload an image by either sending a base64 encoded image to this endpoint or a URL. // Upload an image by either sending a base64 encoded image to this endpoint or a URL.
// To resize an image before uploading, see the Resize endpoint. // To resize an image before uploading, see the Resize endpoint.

View File

@@ -1,4 +1,4 @@
const { ImageService } = require("m3o/image"); const { ImageService } = require("micro-js-client/image");
// Upload an image by either sending a base64 encoded image to this endpoint or a URL. // Upload an image by either sending a base64 encoded image to this endpoint or a URL.
// To resize an image before uploading, see the Resize endpoint. // To resize an image before uploading, see the Resize endpoint.

View File

@@ -1,4 +1,4 @@
const { IpService } = require("m3o/ip"); const { IpService } = require("micro-js-client/ip");
// Lookup the geolocation information for an IP address // Lookup the geolocation information for an IP address
async function lookupIpInfo() { async function lookupIpInfo() {

View File

@@ -1,4 +1,4 @@
const { LocationService } = require("m3o/location"); const { LocationService } = require("micro-js-client/location");
// Read an entity by its ID // Read an entity by its ID
async function getLocationById() { async function getLocationById() {

View File

@@ -1,4 +1,4 @@
const { LocationService } = require("m3o/location"); const { LocationService } = require("micro-js-client/location");
// Save an entity's current position // Save an entity's current position
async function saveAnEntity() { async function saveAnEntity() {

View File

@@ -1,4 +1,4 @@
const { LocationService } = require("m3o/location"); const { LocationService } = require("micro-js-client/location");
// Search for entities in a given radius // Search for entities in a given radius
async function searchForLocations() { async function searchForLocations() {

View File

@@ -1,4 +1,4 @@
const { MqService } = require("m3o/mq"); const { MqService } = require("micro-js-client/mq");
// Publish a message. Specify a topic to group messages for a specific topic. // Publish a message. Specify a topic to group messages for a specific topic.
async function publishAmessage() { async function publishAmessage() {

View File

@@ -1,4 +1,4 @@
const { MqService } = require("m3o/mq"); const { MqService } = require("micro-js-client/mq");
// Subscribe to messages for a given topic. // Subscribe to messages for a given topic.
async function subscribeToAtopic() { async function subscribeToAtopic() {

View File

@@ -1,4 +1,4 @@
const { NotesService } = require("m3o/notes"); const { NotesService } = require("micro-js-client/notes");
// Create a new note // Create a new note
async function createAnote() { async function createAnote() {

View File

@@ -1,4 +1,4 @@
const { NotesService } = require("m3o/notes"); const { NotesService } = require("micro-js-client/notes");
// Delete a note // Delete a note
async function deleteAnote() { async function deleteAnote() {

View File

@@ -1,4 +1,4 @@
const { NotesService } = require("m3o/notes"); const { NotesService } = require("micro-js-client/notes");
// Subscribe to notes events // Subscribe to notes events
async function subscribeToEvents() { async function subscribeToEvents() {

View File

@@ -1,4 +1,4 @@
const { NotesService } = require("m3o/notes"); const { NotesService } = require("micro-js-client/notes");
// List all the notes // List all the notes
async function listAllNotes() { async function listAllNotes() {

View File

@@ -1,4 +1,4 @@
const { NotesService } = require("m3o/notes"); const { NotesService } = require("micro-js-client/notes");
// Read a note // Read a note
async function readAnote() { async function readAnote() {

View File

@@ -1,4 +1,4 @@
const { NotesService } = require("m3o/notes"); const { NotesService } = require("micro-js-client/notes");
// Update a note // Update a note
async function updateAnote() { async function updateAnote() {

View File

@@ -1,4 +1,4 @@
const { OtpService } = require("m3o/otp"); const { OtpService } = require("micro-js-client/otp");
// Generate an OTP (one time pass) code // Generate an OTP (one time pass) code
async function generateOtp() { async function generateOtp() {

View File

@@ -1,4 +1,4 @@
const { OtpService } = require("m3o/otp"); const { OtpService } = require("micro-js-client/otp");
// Validate the OTP code // Validate the OTP code
async function validateOtp() { async function validateOtp() {

View File

@@ -1,4 +1,4 @@
const { PostcodeService } = require("m3o/postcode"); const { PostcodeService } = require("micro-js-client/postcode");
// Lookup a postcode to retrieve the related region, county, etc // Lookup a postcode to retrieve the related region, county, etc
async function lookupPostcode() { async function lookupPostcode() {

View File

@@ -1,4 +1,4 @@
const { PostcodeService } = require("m3o/postcode"); const { PostcodeService } = require("micro-js-client/postcode");
// Return a random postcode and its related info // Return a random postcode and its related info
async function returnArandomPostcodeAndItsInformation() { async function returnArandomPostcodeAndItsInformation() {

View File

@@ -1,4 +1,4 @@
const { PostcodeService } = require("m3o/postcode"); const { PostcodeService } = require("micro-js-client/postcode");
// Validate a postcode. // Validate a postcode.
async function returnArandomPostcodeAndItsInformation() { async function returnArandomPostcodeAndItsInformation() {

View File

@@ -1,4 +1,4 @@
const { PrayerService } = require("m3o/prayer"); const { PrayerService } = require("micro-js-client/prayer");
// Get the prayer (salah) times for a location on a given date // Get the prayer (salah) times for a location on a given date
async function prayerTimes() { async function prayerTimes() {

View File

@@ -1,4 +1,4 @@
const { QrService } = require("m3o/qr"); const { QrService } = require("micro-js-client/qr");
// Generate a QR code with a specific text and size // Generate a QR code with a specific text and size
async function generateAqrCode() { async function generateAqrCode() {

View File

@@ -1,4 +1,4 @@
const { QuranService } = require("m3o/quran"); const { QuranService } = require("micro-js-client/quran");
// List the Chapters (surahs) of the Quran // List the Chapters (surahs) of the Quran
async function listChapters() { async function listChapters() {

View File

@@ -1,4 +1,4 @@
const { QuranService } = require("m3o/quran"); const { QuranService } = require("micro-js-client/quran");
// Search the Quran for any form of query or questions // Search the Quran for any form of query or questions
async function searchTheQuran() { async function searchTheQuran() {

View File

@@ -1,4 +1,4 @@
const { QuranService } = require("m3o/quran"); const { QuranService } = require("micro-js-client/quran");
// Get a summary for a given chapter (surah) // Get a summary for a given chapter (surah)
async function getChapterSummary() { async function getChapterSummary() {

View File

@@ -1,4 +1,4 @@
const { QuranService } = require("m3o/quran"); const { QuranService } = require("micro-js-client/quran");
// Lookup the verses (ayahs) for a chapter including // Lookup the verses (ayahs) for a chapter including
// translation, interpretation and breakdown by individual // translation, interpretation and breakdown by individual

View File

@@ -1,4 +1,4 @@
const { RoutingService } = require("m3o/routing"); const { RoutingService } = require("micro-js-client/routing");
// Turn by turn directions from a start point to an end point including maneuvers and bearings // Turn by turn directions from a start point to an end point including maneuvers and bearings
async function turnByTurnDirections() { async function turnByTurnDirections() {

View File

@@ -1,4 +1,4 @@
const { RoutingService } = require("m3o/routing"); const { RoutingService } = require("micro-js-client/routing");
// Get the eta for a route from origin to destination. The eta is an estimated time based on car routes // Get the eta for a route from origin to destination. The eta is an estimated time based on car routes
async function etaFromPointAtoPointB() { async function etaFromPointAtoPointB() {

View File

@@ -1,4 +1,4 @@
const { RoutingService } = require("m3o/routing"); const { RoutingService } = require("micro-js-client/routing");
// Retrieve a route as a simple list of gps points along with total distance and estimated duration // Retrieve a route as a simple list of gps points along with total distance and estimated duration
async function gpsPointsForAroute() { async function gpsPointsForAroute() {

View File

@@ -1,4 +1,4 @@
const { RssService } = require("m3o/rss"); const { RssService } = require("micro-js-client/rss");
// Add a new RSS feed with a name, url, and category // Add a new RSS feed with a name, url, and category
async function addAnewFeed() { async function addAnewFeed() {

View File

@@ -1,4 +1,4 @@
const { RssService } = require("m3o/rss"); const { RssService } = require("micro-js-client/rss");
// Get an RSS feed by name. If no name is given, all feeds are returned. Default limit is 25 entries. // Get an RSS feed by name. If no name is given, all feeds are returned. Default limit is 25 entries.
async function readAfeed() { async function readAfeed() {

View File

@@ -1,4 +1,4 @@
const { RssService } = require("m3o/rss"); const { RssService } = require("micro-js-client/rss");
// List the saved RSS fields // List the saved RSS fields
async function listRssFeeds() { async function listRssFeeds() {

Some files were not shown because too many files have changed in this diff Show More