Skip to main content

Mediana sms api

Project description

Mediana-sdk

Mediana sms api doc
sdks for some programming languages is in out github at https://github.com/ippanelippanel
api-key format: Authorization: "AccessKey your-api-key"

Authentication

This Python package is automatically generated by the OpenAPI Generator project:

  • API version: 1.0.1
  • Package version: 1.0.2
  • Build package: org.openapitools.codegen.languages.PythonClientCodegen

Requirements.

Python >= 3.6

Installation & Usage

pip install

If the python package is hosted on a repository, you can install directly using:

pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git

(you may need to run pip with root permission: sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git)

Then import the package:

import Mediana-sdk

Setuptools

Install via Setuptools.

python setup.py install --user

(or sudo python setup.py install to install the package for all users)

Then import the package:

import Mediana-sdk

Getting Started

Please follow the installation procedure and then run the following:

import time
import Mediana-sdk
from pprint import pprint
from Mediana-sdk.api import auth_api
from Mediana-sdk.model.inline_response200 import InlineResponse200
from Mediana-sdk.model.inline_response401 import InlineResponse401
# Defining the host is optional and defaults to http://rest.ippanel.com
# See configuration.py for a list of all supported configuration parameters.
configuration = Mediana-sdk.Configuration(
    host = "http://rest.ippanel.com"
)

# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.

# Configure API key authorization: ApiKeyAuth
configuration.api_key['ApiKeyAuth'] = 'YOUR_API_KEY'

# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer'


# Enter a context with an instance of the API client
with Mediana-sdk.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = auth_api.AuthApi(api_client)
    
    try:
        api_response = api_instance.get_authorized_user()
        pprint(api_response)
    except Mediana-sdk.ApiException as e:
        print("Exception when calling AuthApi->get_authorized_user: %s\n" % e)

Documentation for API Endpoints

All URIs are relative to http://rest.ippanel.com

Class Method HTTP request Description
AuthApi get_authorized_user GET /v1/user
CreditApi get_credit GET /v1/credit
MessagesApi create_pattern POST /v1/messages/patterns
MessagesApi fetch_inbox_messages GET /v1/messages/inbox
MessagesApi get_message_recipients_status GET /v1/messages/{bulk_id}/recipients
MessagesApi get_sms GET /v1/messages/{bulk_id}
MessagesApi send_pattern POST /v1/messages/patterns/send
MessagesApi send_sms POST /v1/messages

Documentation For Models

Documentation For Authorization

ApiKeyAuth

  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

Author

Notes for Large OpenAPI documents

If the OpenAPI document is large, imports in Mediana-sdk.apis and Mediana-sdk.models may fail with a RecursionError indicating the maximum recursion limit has been exceeded. In that case, there are a couple of solutions:

Solution 1: Use specific imports for apis and models like:

  • from Mediana-sdk.api.default_api import DefaultApi
  • from Mediana-sdk.model.pet import Pet

Solution 2: Before importing the package, adjust the maximum recursion limit as shown below:

import sys
sys.setrecursionlimit(1500)
import Mediana-sdk
from Mediana-sdk.apis import *
from Mediana-sdk.models import *

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Mediana-sdk-1.0.2.tar.gz (44.0 kB view details)

Uploaded Source

Built Distribution

Mediana_sdk-1.0.2-py3-none-any.whl (81.6 kB view details)

Uploaded Python 3

File details

Details for the file Mediana-sdk-1.0.2.tar.gz.

File metadata

  • Download URL: Mediana-sdk-1.0.2.tar.gz
  • Upload date:
  • Size: 44.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for Mediana-sdk-1.0.2.tar.gz
Algorithm Hash digest
SHA256 a1e23fff8d4b96955321c8f8ed84065f658a8849521353831a4d5980e4110859
MD5 19e44523978b57e02f2a098484d9ff8f
BLAKE2b-256 d62f4672d97e31606c7b96d8c6307aada2afeca8a443d393114f8b957a2f22b3

See more details on using hashes here.

File details

Details for the file Mediana_sdk-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: Mediana_sdk-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 81.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for Mediana_sdk-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0c4f22129481e9009e5c8f6a361671be19fe862a982bea131ea23f65ec645940
MD5 b6cc589e65e6712fee9d683cdc9a7f51
BLAKE2b-256 be5553513132617e52803c04da9d8e7ea4bab162fbb2a4f9d8b40b5182de89d0

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page