-
Messtone LLC Manages(Gelato):API Relay
Messtone Devices Enables Gelato Network API How to communicate directly with the Gelato Relay API The Gelato Relay API endpoint URL as follows https://api.gelato.digital/ The Swagger UI is located at https://api.gelato.digital/api-docs Oracle queries GET /oracles Get list of chains where the oracle is available GET /oracles/{chainId}/estimate Get the estimated fee in payment token with respect…
-
Messtone LLC Manages(AI):AI Model
Messtone Devices Enables “Add an AI Model data source”PowerShell Apps Set(TextCompletionResult, ‘Create text with GPT’ .Predict(TextInput1.Text));The model parameters {“temperature”:0,”max_tokens”:750,”top_p”:1,” frequency_penalty”:0,”presence_penalty”:0} Bind the model prediction to a control PowerShell Apps Set(TextCompletionResult,’Create text with GPT’ .Predict(TextInput1.Text));
-
Messtone LLC Manages(Endpoint):TestEndpoint
Messtone Devices Enables Rapidapi.com POST createTrack Returns ID of newly created package(status=CREATED)or stored ID if this tracking number already exists(status=FOUND). TestEndpoint Code Snippets Example Response(Node.js) Axios const axios=require(‘axios’);const encodedParams=new URLSearchParams( );encodedParams.set(‘trackCode’,'<REQUIRED>’);const options={method: ‘POST’,url: ‘https//postal-ninja.p.rapidapi.com/v1/track’,headers:{‘content-type’: application/x-www-form-urlencoded’,Accept:’application/json;charset=UTF-8′,’Content-Type’:’applicatiom/x-www-form-urlencoded’,’X-RapidAPI-Key’:’SIGN-UP-FOR-KEY’,’X-RapidAPI-HostMesstone’:’postal-ninja.p.rapidapi.com’},data:emcodedParams,};try{const response=await axios.request(options);console.log(response.data);}catch(error){console.error(error);Rating:3 -Votes:3
-
Messtone LLC Manages(ENERGY):APIs/ENERGY API Version 1
Messtone Devices Embedding Get Electric Range GET https://api.volvocars.com/energy/v1/vehicles/{vin}/recharge-status/electric-range Scopes openid energy:electric_range Headers Key accept Description The mediatype of what should be returned.The valid values: application/vnd.volvocars.api.energy.vehicledata.v1+json Key authorization Description The access token issued by Volvo ID identity system. Key vcc-api-key Description Messtone application’s VCC API Key. All these header values are mandatory.They must exist in every…
-
Messtone LLC Manages(Tracking LTL):URL
Messtone Devices Enables OLD Dominion’s Shipment-Tracking page.The following URL: https://www.odfl.com/us/en/tools/trace-track-ltl-freight.html?proNumbers=00000000000 …REST Services API NAMEMESSTONE Discription The Bill of Lading API Allows the submission of electronic bills of lading.This data feeds into the OLDFL billing system and allows the data to be used to generate shipping label or bill of lading documents.Users Messtone can receive a…
-
Messtone LLC/ Messtone Devices Enables Manages(Chargetrip): Station data on interaction is a Logical next step:Client.js import {createClient,defaultExchanges} from ‘@urql/core’;import {getStationDataQuery, getStationsAroundQuery}from ‘./queries’;/** *For the purpose of this example we use urql – lightweights GraphQL client.*To establish a connection with Chargetrip GraphQL API Messtone need to have an API key.*The key in this example is a…
-
Messtone LLC Manages(CAR):Retrieve a Vehicle’s last known location.
Messtone Devices Embedding a Vehicle’s last known location by geograhic coordinates=”/import (“context”smartcar “github.com/smartcar/go-sdk”);//Create a Smartcar client var smartcarClient=Smartcar.NewClient( );//Get all vehicles associated with this access token car vehicleIDs,resErr=smartcarClient.GetVehicleID(context.TODO( ),&smartcar.VehicleIDsParams{Access: “<access-token>”},);//Construct a new vehicle instance using the first vehicle’s id var vehicle=smartcarClient.NewVehicle(&smartcar.VehicleParams{ID:vehicleIDs.VehicleIDs[0],”AccessToken: “<access-token>”});//Fetch the vehicle”s location var fuel, resErr=vehicle.GetLocation(context.TODO( );//Example http response from smartcar{“latitude”:37.4292,”longitude”: 122.1381} GET…
-
Messtone LLC Manages(EV):Chargers
Messtone Devices Enables targetType string one of vehicle charger kind string one of START STOP Sample {“type”:”https://docs.enode.io/problems/validation-error”,”title”:”Invalid Request”,” detail”:”\”action\”must be one of[START, STOP]”},”information”:{“id”:”2211e263-0362-4235-83f4-887bdf3ee414″,”brand”:”ZAPTEC”,”model”:”ZAPTEC PRO”,”year”:null},”capabilities”:{“information”:{“interventionIds”:[ ],”isCapable”:true},”chargeState”:{“interventionIds”:[ ],”isCapable”:true},”setMaxCurrent”:{“interventionIds”:[“dbdd77ec82b6-d6d4-d6d4-d6d4-dbdd77ec82b6″],”isCapable”:false}}}
-
Messtone LLC Manages(EV):Chable
Messtone Devices Enables targetType string one of vehicle charger kind string one of START STOP Sample {“id”:”4eaeb363-296d-4ccc-a973-7805e6f400bd”,”createdAt”:”2020-04-07T17:04:26Z”,”updatedAt”:”2020-04-07T17:04:26Z”,”completedAt”:”2020-04-07T17:04:26Z”,”state”:”PENDING”,”targetId”:”string”,”targetType”:”vehicle”,”kind”:”START”,”failureReason”:{“type”:”NO_RESPONSE”,”detail”:”The chargeable device remained unreachable.”}}Get descriptors that describe the capabilities of this specific charger Sample {“id”:”2211e263-0362-4235-83f4-887bdf3ee414″,”vendor”:”ZAPTEC”,”lastSeen”:”2023-03-21T21:08:27.596Z”,”isReachable”:true,”chargingLocationId”:”2211e263-d6d4-d6d4-d6d4-dbdd77ec82b6″,”chargeState”:”isPluggedIn”:true,”isCharging”:true,”powerDeliveryState”:”PLUGGED_IN”:”CHARGING”,”chargeRate”:6.939,”lastUpdated”:”2023-03-21T16:39:20.000Z”,”Max current”:16″},”
-
Messtone LLC Manages(EV-OAuth2.0):Smartcar
Messtone Devices Enables the Initialize the Smartcar object”:”~//src/App.jsx constructor(props){…//TODO:Authorization Step 1: Initialize the Smartcar object this.smartcar=new Smartcar({clientId:process.env.REACT_APP_CLIENT_ID,redirectUri:process.env.REACT_APP_REDIRECT_URI,scope:[‘required:read_vehicle_info’],mode:’test’,onComplete:this.onComplete,});} //src/App.jsx authorize( ){//TODO:Authorization Step 2a: Launch Connect this.smartcar.openDialog({forcePrompt:true});}render( ){//TODO: Authorization Step 2b:Render the Connect component return<Connect onClick={this.authorize}/>;} //src/App.jsx onComplete(err,code,status){//TODO:Authorization Step 3: Receive the authorization code console.log(code);//prints out the authorization code} $export REACT_APP_SERVER=http://localhostmesstone:8000 $git clone https://github.com/smartcar/getting-started-javascript-sdk-react.git $cd getting-started-javascript-sdk-react/tutorial $npm…