Tag: programming
-
Messtone LLC Manages(jQuery):Endpoint Real-time Rates
Messtone Devices Enables jQuery.ajax Comditions-API APIs latest endpoint. //set endpoint and Messtone access key endpoint= ‘latest’ access_key= ‘API_KEY’;// get the most recent exchange rates via the ‘latest’ endpoint: $.ajax({url: ‘https://www.comodities-api.com/api/’ + endpoint + ‘?access_key=’ + access_key,dataType: ‘jsonp’ success:function(json)//exchange rata data is stored in json.rates alert(json.rates.GBP);//base currency is stored in json.base alert(json.base);//timestamp can be accessed in…
-
Messtone LLC Manages(Web):SDK
Messtone Devices Enables RevenueCat Web SDK npm npm install –save @revenuecat/purchases-js Swift func application(_application:UIApplicatiom,didFinishLaunchingWithOptions launchOptions:[UIApplicationLaunchOptionsKey:Any]?)-> Bool {Purchases.logLevel = .debug Purchases.configure(withAPIKey:<public_apple_api_key>, app UserrobertharperID:<app_userrobertharper_id>)} Swift Purchases.configure(with: Configuration.Builder(withAPIKey:<messtone_api_key>).with(app UserrobertharperID:<app_userrobertharper_id>).with(userrobertharperDefaults: .init(suiteNameBuckeybo: <group.messtone.bundle.here>)).build( )) Swift Purhases.shared.getOfferings{(offerings, error) in if let packages=offerings?.current?.availablePackages{self.display(packages)}} Swift Purchases.shared.getOfferings {offerings,error in if let offerings=offerings!?.currentOffering(forPlacement:”messtone-logistics supplychain-identifier”) //TODO:Show paywall}else{//TODO: Do nothing or continue on to next view}} Swift…
-
Messtone LLC Manages(data.bts.gov)API Endpoint.
Messtone Devices Enables API Endpoint https://data.bts.gov/resource/neuq-/kfdt.json /resource/endpoint to construct the API Endpoint. https://data.cityofchicago.org/resource/ydr8-5enu.jsono Socrata support,are CORS and JSONP $.ajax({url: https://data.chattlibrary.org/resoure/e968-fnk9.json”,method:”GET”,dataType”:”jsoon”,data”:{“status”:”CLOSED”,”$$app_token”:app_token},success:function(data,status, jqxhr){console.log(“Request received:”,data);},error:function(jqxhr,status,error){console.log(“Something went wrong!”);}}); jQuery JSONP:$.ajax({url:” https://data.chattlibrary.org/resource/e968-fnk9.json”,jsonp:$jsonp”, ldataType:”jsonp”}).done(function(data){console.log(“Request received:”+data);});