Giter VIP home page Giter VIP logo

python's Introduction

python

Globe Labs Python sample codes

==============================================================================

Sending SMS (sms-mt)

Shortcode
- Your shortcode suffix (last 4 digits)

access_token
- Contains security information for transacting with a subscriber. Subscriber needs to grant an app first via SMS or Web Form Subscriber Consent Workflow.

address
- Target number

clientCorrelator
- Uniquely identifies this create SMS request. If there is a communication failure during the request, using the same clientCorrelator when retrying the request allows the operator to avoid sending the same SMS twice.

message
- Must be provided within the outboundSMSTextMessage element. Currently, the API implementation is limited a maximum of 160 characters. Also make sure that your language or framework’s editor is encoding the HTTP parameters as UTF-8

==============================================================================

Location Based Services (lbs)

access_token
- Contains security information for transacting with a subscriber. Subscriber needs to grant an app first via SMS or Web Form Subscriber Consent Workflow.

address
- Target number

requestedAccuracy
- The preferred accuracy of the result, in meters. Typically, when you request an accurate location it will take longer to retrieve than a coarse location. So requestedAccuracy=10 will take longer than requestedAccuracy=100 

==============================================================================

Charging

app_id
- Unique identifier of your app

app_secret
- The security code of your app

access_token
- Identifier retrieved upon completing the opt-in process 

amount
- Amount to be charged. Must be in decimal format. eg. 1.00, 2.50, 10.00

code
- Needed to retrive the access_token. Sent to your redirect_uri after the opt-in process

description
- Is the human-readable text to appear on the bill, so the user can easily see what they bought

endUserId / subscriber_number
- Target number

referenceCode
- Is a unique alphanumeric code for records matching. The operator should include it in reports so that you can match their view of what has been sold with yours by matching the referenceCodes. Required format: Suffix of your shortcode (last 4 digits) + Unique combination of 7 alphanumeric string, but we recommend that you do Increments of 1 from 1000000 for faster tracking. e.g. [1234]1000001 to [1234]9999999]

transactionOperationStatus
- A mandatory parameter that should always be set to Charged

duration
- This defines how many days the subscriber will be subscribed to the promo(duration=0 for one-time charging).

==============================================================================

Load API and Load Status

app_id
- Unique identifier of your app

app_secret
- The security code of your app

rewards_token
- This is used as a key to allow your app to send rewards

address
- Target number

promo
- Promo to be sent 

transaction_id
- This is the identifier of the transaction being checked (this is part of the response of the Rewards API)

python's People

Contributors

glabsdev avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.