Samples using API. User Guide
|
|
- Hilda Brown
- 6 years ago
- Views:
Transcription
1 Samples using API User Guide
2 1 Table of Contents 1 Table of Contents Python sample callapi.py file configuration Bash sample JavaScript sample...11
3 This article describes 3 samples of using API in the following cases: 3
4 2 Python sample There are 4 mandatory parameters for this script: apikey apisecret datefrom dateto -k (- - apikey) : API Key of the domain (Administration Credentials API Key) -s (- - apisecret) : API secret of the domain (Administration Credentials API Secret) -f (- -datefrom) : query start date as "YYYY-MM-DD HH:MM:SS" -t (- -date to) : query end date as "YYYY-MM-DD HH:MM:SS" Apart from these, at least one of these parameters should also be included: query idsearch -q (- - query) : LINQ query -id (- - idsearch) : query ID (Query Info Get ID) This is an example of a query run on the web application: 4
5 And this is a request with Python script using the query (q):./callapi.py -k '2y0D9HPK128PpsHURcDr9Vz6xtAGeVYz' -s 'ytbgi7yw4dah52tmn9txdrjfftfphsey' -f ' :00:00' -t ' :00:00' -q 'from siem.logtrust.web.activity where method = "GET" select lu("cursoimagenio1", "nombrespruebas", "nombre", username) as Nombre group every 0 by Nombre, username, userid, domain' This is a request with Python script, with the query ID (id): 5
6 ./callapi.py -k '2y0D9HPK128PpsHURcDr9Vz6xtAGeVYz' -s 'ytbgi7yw4dah52tmn9txdrjfftfphsey' -f ' :00:00 -t ' :00:00' -id '69242b69-fe beac-de0718a13774'...and the corresponding answer: { "status": 0, "msg": "valid request", "object": [{ "username": "rmoya@logtrust.com 1 ", "Nombre": "Ricardo", "domain": "cursoimagenio1", "userid": "c722465f-28eb-4d70-b282-0c238f195ce1" }, {...}, {...} ], "success": true} 1 6
7 2.1 callapi.py file configuration #!/usr/bin/env python # -*- coding: utf8 # # Example of how to query logtrust search API: #./callapi.py -k "apikey" -s "apisecret" -f " :00:00" -t " :00:00" -q "query" # import hmac import hashlib import datetime import time import urllib import httplib2 import json import argparse import sys import re # Parameters parser = argparse.argumentparser() parser.add_argument("-k", "--apikey", required=true, help="administración > Credenciales > Api Key") parser.add_argument("-s", "--apisecret", required=true, help="administración > Credenciales > Api Secret") parser.add_argument("-f", "--datefrom", required=true, help="must have the following format YYYY-MM-DD HH:MM:SS") parser.add_argument("-t", "--dateto", required=true, help="must have the following format YYYY-MM-DD HH:MM:SS") parser.add_argument("-q", "--query", required=false, help="from my.app.nivel1.nivel2 select *") parser.add_argument("-id", "--idsearch", required=false, help="query Info > Get Id") args = parser.parse_args() DATEREGEX = '^\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}$' URL = ' API_KEY = args.apikey API_SECRET = args.apisecret # Query or idsearch if not args.idsearch and not args.query: print 'ERROR: BOTH PARAMETERS ARE MISSING' sys.exit() elif args.idsearch and args.query: print 'ERROR: BOTH PARAMETERS ARE PRESENT' sys.exit() elif args.idsearch and not args.query: ID_SEARCH = args.idsearch QUERY = None else: 7
8 ID_SEARCH = None QUERY = args.query # Date patter = re.compile(dateregex) if patter.match(args.datefrom): date = datetime.datetime.strptime(args.datefrom, "%Y-%m-%d %H:%M:%S") DATE_FROM = str(int(time.mktime(date.timetuple()) * 1000)) else: print "ERROR: THE START DATE (datefrom) MUST HAVE THE FOLLOWING FORMAT YYYY-MM-DD HH:MM:SS" sys.exit() if patter.match(args.dateto): date = datetime.datetime.strptime(args.dateto, "%Y-%m-%d %H:%M:%S") DATE_TO = str(int(time.mktime(date.timetuple()) * 1000)) else: print "ERROR: THE END DATE (dateto) MUST HAVE THE FOLLOWING FORMAT YYYY-MM-DD HH:MM:SS" sys.exit() # Timestamp TSTAMP = str(int(time.mktime(datetime.datetime.now().timetuple()) * 1000)) # Message if ID_SEARCH is None: MSG = API_KEY + DATE_FROM + DATE_TO + QUERY + TSTAMP elif QUERY is None: MSG = API_KEY + DATE_FROM + DATE_TO + ID_SEARCH + TSTAMP # Signature sign = hmac.new(api_secret, MSG, hashlib.sha256) # Request req = httplib2.http() if ID_SEARCH is None: params = dict(apikey=api_key, query=query, datefrom=date_from, dateto=date_to, timestamp=tstamp, sign=sign.hexdigest()) elif QUERY is None: params = dict(apikey=api_key, idsearch=id_search, datefrom=date_from, dateto=date_to, timestamp=tstamp, sign=sign.hexdigest()) headers = {'content-type': 'application/x-www-form-urlencoded'} resp, jsoncontent = req.request(url, "POST", urllib.urlencode(params), headers) content = json.dumps(json.loads(jsoncontent)) print content 8
9 3 Bash sample See below a Bash sample using API. 9
10 #!/bin/bash #Fix attributes URL = ' CONTENT_TYPE='Content-Type:application/x-www-form-urlencoded; charset=utf-8' #Domain Api Key and Secret apikey='xfrtw05vsag26nbtpar49ucyf54xxqhñ' apisecret='abq30qipc0g7gtda8trs7t53wxzelcv6' #Query or idquery #example query='from my.app.test.test group every 30m every 0 select count() as count' #queryid =idquery #Period to Query datefrom=`date -d " :00:00.000" +%s000` dateto=`date -d " :00:00.000" +%s000` #Current Timestamp timestamp=`date +%s000` #Sign the REST call _stringsign="$apikey$datefrom$dateto$query$timestamp" sign=`echo $_stringsign tr -d '\n' openssl dgst -sha256 -hmac "$apisecret"` sign=`echo $sign awk -F '= ' '{print $2}'` #Data to send with Post petition data="apikey=$apikey&datefrom=$datefrom&dateto=$dateto&query=$query&ti mestamp=$timestamp&sign=$sign" #Data to send with Post petition with QueryId #data="apikey=$apikey&datefrom=$datefrom&dateto=$dateto&query=$queryid ×tamp=$timestamp&sign=$sign" #HTTP Request curl -H "$CONTENT TYPE" -d "$data" "$URL" 10
11 4 JavaScript sample See below a JavaScript sampe using API: 11
API Documentation. Release Version 1 Beta
API Documentation Release Version 1 Beta Document Version Control Version Date Updated Comment 0.1 April 1, 2016 Initialize document 1 Release version PROMOTEXTER V3 BETA - API Documentation 1 Table of
More informationVersion 1.2. ASAM CS Single Sign-On
Version 1.2 ASAM CS Single Sign-On 1 Table of Contents 1. Purpose... 3 2. Single Sign-On Overview... 3 3. Creating Token... 4 4. Release Notes... 5 2 1. Purpose This document aims at providing a guide
More informationUsing OAuth 2.0 to Access ionbiz APIs
Using OAuth 2.0 to Access ionbiz APIs ionbiz APIs use the OAuth 2.0 protocol for authentication and authorization. ionbiz supports common OAuth 2.0 scenarios such as those for web server, installed, and
More informationHappyFox API Technical Reference
HappyFox API Technical Reference API Version 1.0 Document Version 0.1 2011, Tenmiles Corporation Copyright Information Under the copyright laws, this manual may not be copied, in whole or in part. Your
More informationQuriiri HTTP MT API. Quriiri HTTP MT API v , doc version This document describes the Quriiri HTTP MT API version 1 (v1).
Quriiri HTTP MT API This document describes the Quriiri HTTP MT API version 1 (v1). Sending messages Request types Security Request parameters Request examples JSON POST GET Response JSON response example
More informationLeveraging the Security of AWS's Own APIs for Your App. Brian Wagner Solutions Architect Serverless Web Day June 23, 2016
Leveraging the Security of AWS's Own APIs for Your App Brian Wagner Solutions Architect Serverless Web Day June 23, 2016 AWS API Requests Access Key and Secret Key (access key and secret key have been
More informationExtraHop Rest API Guide
ExtraHop Rest API Guide Version 5.0 Introduction to ExtraHop REST API The ExtraHop REST application programming interface (API) enables you to automate administration and configuration tasks on your ExtraHop
More informationAuthorization and Authentication
CHAPTER 2 Cisco WebEx Social API requests must come through an authorized API consumer and be issued by an authenticated Cisco WebEx Social user. The Cisco WebEx Social API uses the Open Authorization
More informationAsema IoT Central Notification API 1.0. English
Asema IoT Central Notification API 1.0 English Table of Contents 1. Introduction... 1 1.1. HTTP Push... 1 1.2. WebSockets... 1 1.3. MQTT... 2 2. Using HTTP Push... 3 2.1. Subscribing... 3 2.2. Parsing
More informationOAuth at Interactive Brokers
OAuth at Interactive Brokers November 9, 2017 1 Consumer Registration Consumers will need to provide the following in order to register as an authorized oauth consumer with Interactive Brokers. 1. A 2048-bit
More informationENERGY MANAGEMENT INFORMATION SYSTEM. EMIS Web Service for Sensor Readings. Issue
ENERGY MANAGEMENT INFORMATION SYSTEM EMIS Web Service for Sensor Readings Issue 2018-02-01 CONTENTS 1 Overview... 2 2 Communication and Authentication... 3 2.1 Connecting to the REST Web Service... 3 2.2
More informationTenable.io Container Security REST API. Last Revised: June 08, 2017
Tenable.io Container Security REST API Last Revised: June 08, 2017 Tenable.io Container Security API Tenable.io Container Security includes a number of APIs for interacting with the platform: Reports API
More informationargcomplete Documentation Andrey Kislyuk
Andrey Kislyuk May 08, 2018 Contents 1 Installation 3 2 Synopsis 5 2.1 argcomplete.autocomplete(parser).................................... 5 3 Specifying completers 7 3.1 Readline-style completers........................................
More informationURL Signing and Validation
APPENDIXF This appendix describes the URL signing and validation method for the Cisco Internet Streamer CDS. This appendix contains the following sections: Introduction, page F-1 Configuring the CDS for
More informationEnable API Access... 3 Set up API Access... 4
API ACCESS Table of Contents Enable... 3 Set up... 4 Test... 8 Test / Get API Token via MI API Test Tool... 9 API Test Tool...14 Get Token API via curl...17 API via curl...19 Chrome browser REST client...20
More informationargcomplete Documentation
argcomplete Documentation Release Andrey Kislyuk Nov 21, 2017 Contents 1 Installation 3 2 Synopsis 5 2.1 argcomplete.autocomplete(parser).................................... 5 3 Specifying completers
More informationUsing the YANG Development Kit (YDK) with Cisco IOS XE
Using the YANG Development Kit (YDK) with Cisco IOS XE 1. Overview The YANG Development Kit (YDK) is a software development kit that provides APIs that are generated from YANG data models. These APIs,
More informationVersion Event Protect Platform RESTfull API call
Event Protect Platform RESTfull API call Introduction Via available online service and through specified API, developers can connect to Event Protect platform and submit individual sales transaction. Service
More informationTable of Contents. Developer Manual...1
Table of Contents Developer Manual...1 API...2 API Overview...2 API Basics: URL, Methods, Return Formats, Authentication...3 API Errors...4 API Response Examples...6 Get Articles in a Category...6 Get
More informationVersion Event Protect Platform RESTfull API call
Event Protect Platform RESTfull API call Introduction Via available online service and through specified API, developers can connect to Event Protect platform and submit individual sales transaction. Service
More informationStandard HTTP format (application/x-www-form-urlencoded)
API REST Basic concepts Requests Responses https://www.waboxapp.com/api GET / Standard HTTP format (application/x-www-form-urlencoded) JSON format HTTP 200 code and success field when action is successfully
More informationWeights and Biases Documentation
Weights and Biases Documentation Release 0.6.17 Weights and Biases Aug 13, 2018 Contents 1 Intro 1 2 Quickstart - Existing Project 3 3 Weights & Biases Run API 5 3.1 Saving run files..............................................
More informationThe Merit Palk API allows 3rd party developers to expand and build on the Merit Palk platform.
The Merit Palk API allows 3rd party developers to expand and build on the Merit Palk platform. The Merit Palk API is a RESTful API that is used to access Merit Palk companies using HTTP and JSON. The API
More informationIOCs. Reference: Domains
IOCs Reference: https://www.recordedfuture.com/houdini-paste-sites/ Domains 022121563.ddns.net 02google.ddns.net 0930077842.ddns.net 09300778421996.linkpc.net 777777722.zapto.org ahmad00.linkpc.net ahmad100.linkpc.net
More informationBeyond Virtual Machines: Tapping into the AWS Universe from FileMaker
Beyond Virtual Machines: Tapping into the AWS Universe from FileMaker ITG06 Jesse Barnum President, 360Works FILEMAKER DEVCON 2018 AUGUST 6-9 GRAPEVINE, TX Jesse founded 360Works in 1996 Primary or original
More informationWelcome to. Python 2. Session #5. Michael Purcaro, Chris MacKay, Nick Hathaway, and the GSBS Bootstrappers February 2014
Welcome to Python 2 Session #5 Michael Purcaro, Chris MacKay, Nick Hathaway, and the GSBS Bootstrappers February 2014 michael.purcaro@umassmed.edu 1 Building Blocks: modules To more easily reuse code,
More informationDocumentation to use the Elia Solar Forecasting web services
Documentation to use the Elia Solar Forecasting web services Elia Version 5.0 2018-01-18 Printed on 18/01/2018 Page 1 of 11 Table of Contents Chapter 1. Introduction... 3 1.1. Elia Solar Forecasting web
More informationPERFORMANCE HORIZON PUBLISHER API INTRODUCTION
PERFORMANCE HORIZON PUBLISHER API INTRODUCTION Version 1.0 October 2016 WHY USE API S All of the features and functionality that we have developed aim to give you, the user, a greater understanding of
More informationOracle Fusion Middleware. API Gateway OAuth User Guide 11g Release 2 ( )
Oracle Fusion Middleware API Gateway OAuth User Guide 11g Release 2 (11.1.2.2.0) August 2013 Oracle API Gateway OAuth User Guide, 11g Release 2 (11.1.2.2.0) Copyright 1999, 2013, Oracle and/or its affiliates.
More informationReport API v1.0 Splio Customer Platform
Report API v1.0 Splio Customer Platform 2018-06-25 SPLIO Customer Platform - REPORT API 1.0 - EN - 2018-06-25 - v1.docx Table of Contents Introduction... 3 Access... 3 Base URL... 3 Europe hosting... 3
More informationSAS Event Stream Processing 4.2: Security
SAS Event Stream Processing 4.2: Security Encryption on Sockets Overview to Enabling Encryption You can enable encryption on TCP/IP connections within an event stream processing engine. Specifically, you
More informationURL Signing and Validation
APPENDIXI This appendix describes the URL signing and validation method for the Cisco Internet Streamer CDS. This appendix contains the following sections: Introduction, page I-1 Configuring the CDS for
More informationPublic Appointment API. Calendar A
Public Appointment API Calendar 205.01A Copyright notice The information in this document is subject to change without prior notice and does not represent a commitment on the part of Q-MATIC AB. All efforts
More informationIntegrate Mimecast Secure Gateway. EventTracker v8.x and above
Integrate Mimecast Secure Email Gateway EventTracker v8.x and above Publication Date: January 5, 2018 Abstract This guide provides instructions to configure Mimecast Secure Email Gateway to send crucial
More informationController/server communication
Controller/server communication Mendel Rosenblum Controller's role in Model, View, Controller Controller's job to fetch model for the view May have other server communication needs as well (e.g. authentication
More informationENERGY MANAGEMENT INFORMATION SYSTEM. EMIS Web Service for Remote Readings and Bills. Issue
ENERGY MANAGEMENT INFORMATION SYSTEM EMIS Web Service for Remote Readings and Bills Issue 2018-03-16 CONTENTS 1 Preface: Data Structure... 3 1.1 Remote bills... 3 1.2 Remote readings... 4 2 Web Service
More informationAPI Gateway. Version 7.5.1
O A U T H U S E R G U I D E API Gateway Version 7.5.1 15 September 2017 Copyright 2017 Axway All rights reserved. This documentation describes the following Axway software: Axway API Gateway 7.5.1 No part
More informationStandard HTTP format (application/x-www-form-urlencoded)
API REST Basic concepts Requests Responses https://www.waboxapp.com/api Standard HTTP format (application/x-www-form-urlencoded) JSON format HTTP 200 code and success field when action is successfully
More informationVersion Date Description Author First version Nate. send_sms request Added DELIVERED. status in Send Sms.
New API Version Date Description Author 0.1 2014-12-25 First version Nate 0.2 2015-1-22 Added user_id in Nate send_sms request 0.3 2015-3-20 Added DELIVERED Nate status in Send Sms Result 0.4 2015-4-24
More informationClickToCall SkypeTest Documentation
ClickToCall SkypeTest Documentation Release 0.0.1 Andrea Mucci August 04, 2015 Contents 1 Requirements 3 2 Installation 5 3 Database Installation 7 4 Usage 9 5 Contents 11 5.1 REST API................................................
More informationThe system has several front-end content discovery options. Here are examples of their interfaces (see more on our site at
November, 2014 1 TrenDemon is a content marketing platform which helps boost conversions from your existing traffic and content using personalized recommendations and call to actions. The system has several
More informationNIELSEN API PORTAL USER REGISTRATION GUIDE
NIELSEN API PORTAL USER REGISTRATION GUIDE 1 INTRODUCTION In order to access the Nielsen API Portal services, there are three steps that need to be followed sequentially by the user: 1. User Registration
More informationMxVision WeatherSentry Web Services REST Programming Guide
MxVision WeatherSentry Web Services REST Programming Guide DTN 11400 Rupp Drive Minneapolis, MN 55337 00.1.952.890.0609 This document and the software it describes are copyrighted with all rights reserved.
More informationPROCE55 Mobile: Web API App. Web API. https://www.rijksmuseum.nl/api/...
PROCE55 Mobile: Web API App PROCE55 Mobile with Test Web API App Web API App Example This example shows how to access a typical Web API using your mobile phone via Internet. The returned data is in JSON
More informationArcher Documentation. Release 0.1. Praekelt Dev
Archer Documentation Release 0.1 Praekelt Dev February 12, 2014 Contents 1 User Service 3 1.1 Installation................................................ 3 1.2 API....................................................
More information1WorldSync Content1 Web Services
1WorldSync Content1 Web Services API HMAC Guide Version 1.1 26-Oct-2016 2 REVISION HISTORY Date Ver # Description of Change Author October 14, 2015 1.0 Initial Version 1WorldSync October 26, 2016 1.1 Updated
More informationurllib2 extensible library for opening URLs
urllib2 extensible library for opening URLs Note: The urllib2 module has been split across several modules in Python 3.0 named urllib.request and urllib.error. The 2to3 tool will automatically adapt imports
More informationAPI Wrapper Documentation
API Wrapper Documentation Release 0.1.7 Ardy Dedase February 09, 2017 Contents 1 API Wrapper 3 1.1 Overview................................................. 3 1.2 Installation................................................
More informationPemrograman Jaringan Web Client Access PTIIK
Pemrograman Jaringan Web Client Access PTIIK - 2012 In This Chapter You'll learn how to : Download web pages Authenticate to a remote HTTP server Submit form data Handle errors Communicate with protocols
More informationIPConfigure Embedded LPR API
IPConfigure Embedded LPR API Version 1.3.6 February 23, 2016 1 Camera Configuration Parameters IPConfigure Embedded LPR uses several user-adjustable configuration parameters which are exposed by Axis Communication
More informationAll requests must be authenticated using the login and password you use to access your account.
The REST API expects all text to be encoded as UTF-8, it is best to test by sending a message with a pound sign ( ) to confirm it is working as expected. If you are having issues sending as plain text,
More informationJSON POST WITH PHP IN ANGULARJS
JSON POST WITH PHP IN ANGULARJS The POST method is used to insert the data. In AngularJS, we should post the form data in JSON format to insert into the PHP file. The PHP server side code used to get the
More information05/11/2018 graph-stats.py 1 #!/usr/bin/env python
05/11/2018 graph-stats.py 1 #!/usr/bin/env python # 10/2018, C. Cervini, dbi-services; import sys import getopt from datetime import datetime import json import DctmAPI def Usage(): print(""" Usage: Connects
More informationController/server communication
Controller/server communication Mendel Rosenblum Controller's role in Model, View, Controller Controller's job to fetch model for the view May have other server communication needs as well (e.g. authentication
More informationflask-jwt-simple Documentation
flask-jwt-simple Documentation Release 0.0.3 vimalloc rlam3 Nov 17, 2018 Contents 1 Installation 3 2 Basic Usage 5 3 Changing JWT Claims 7 4 Changing Default Behaviors 9 5 Configuration Options 11 6 API
More informationAPI Developer s Guide
API Developer s Guide Created By : Marco Kok (marco@socialsurvey.com) Updated on : 04/10/2018 Version : 2.4.3 1 Introduction The SocialSurvey API provides access to import transaction data to our system
More informationWeChat Adobe Campaign Integration - User Guide
WeChat Adobe Campaign Integration - User Guide Table of Contents 1. Verticurl App Account Creation... 1 2. Configuration Setup in Verticurl App... 2 3. Configure QR Code Service... 3 3.1 QR code service
More informationSimSun "zh" = 0pt plus 1pt
SimSun "zh" = 0pt plus 1pt 0.1 2015-11-09 06:35:58 Contents 1 3 1.1...................................................... 3 1.2...................................................... 3 1.3......................................................
More informationErrors Message Bad Authentication Data Code 215 User_timeline
Errors Message Bad Authentication Data Code 215 User_timeline ("errors":(("code":215,"message":"bad Authentication data. "))) RestKit.ErrorDomain Code=- 1011 "Expected status code in (200-299), got 400"
More informationComposer Help. Web Request Common Block
Composer Help Web Request Common Block 7/4/2018 Web Request Common Block Contents 1 Web Request Common Block 1.1 Name Property 1.2 Block Notes Property 1.3 Exceptions Property 1.4 Request Method Property
More informationMoxie Notifications Documentation
Moxie Notifications Documentation Release 0.1 Mobile Oxford team, IT Services, University of Oxford April 23, 2014 Contents i ii CHAPTER 1 HTTP API 1.1 Endpoint 1.1.1 Format Dates are expressed as YYYY-mm-DDTHH:mm:ss
More informationNinox API. Ninox API Page 1 of 15. Ninox Version Document version 1.0.0
Ninox API Ninox Version 2.3.4 Document version 1.0.0 Ninox 2.3.4 API 1.0.0 Page 1 of 15 Table of Contents Introduction 3 Obtain an API Key 3 Zapier 4 Ninox REST API 5 Authentication 5 Content-Type 5 Get
More informationExtraHop 7.3 ExtraHop Trace REST API Guide
ExtraHop 7.3 ExtraHop Trace REST API Guide 2018 ExtraHop Networks, Inc. All rights reserved. This manual in whole or in part, may not be reproduced, translated, or reduced to any machinereadable form without
More informationSMS Outbound. HTTP interface - v1.1
SMS Outbound HTTP interface - v1.1 Table of contents 1. Version history... 5 2. Conventions... 5 3. Introduction... 6 4. Application Programming Interface (API)... 7 5. Gateway connection... 9 5.1 Main
More informationRegion wise sales reporting collation
Region wise sales reporting collation Objective: Implementation: Prerequisite for using APIs: 1. 2. 3. Sign In at gupshup.io to get an API Key. Teamchat account. Register Bot with your Teamchat App using
More informationBaasBox. Open Source Backend as a Service. Otto Hylli
BaasBox Open Source Backend as a Service Otto Hylli Overview (1/2) Developed by BaasBox an Italian startup company Project was declared started on 1st of July 2012 on the BaasBox blog Open source under
More informationSTATS API: AN INTRODUCTION
1 STATS API: AN INTRODUCTION 2 STATS API: AN INTRODUCTION Presented by Andrew Flintosh, Senior Developer 7 years at STATS LLC Florida State University alumn 3 STATS MAIN DELIVERY METHODS FTP Push Requires
More informationAdvanced API Security
Advanced API Security ITANA Group Nuwan Dias Architect 22/06/2017 Agenda 2 HTTP Basic Authentication Authorization: Basic QWxhZGRpbjpPcGVuU2VzYW1l 3 API Security is about controlling Access Delegation
More informationAPPENDIX B - Python Scripts
B-1 APPENDIX B - Python Scripts Python script for Waves #!/usr/bin/env python import argparse import os import pandas as pd import sys import scipy.constants as constants import math import xarray as xr
More informationCS 155 Project 2. Overview & Part A
CS 155 Project 2 Overview & Part A Project 2 Web application security Composed of two parts Part A: Attack Part B: Defense Due date: Part A: May 5th (Thu) Part B: May 12th (Thu) Project 2 Ruby-on-Rails
More informationC U B I T S. API DOCUMENTATION Version 1.8
C U B I T S API DOCUMENTATION Version 1.8 Table of Contents Table of Contents Introduction Request and Response Format Authentication Callbacks User language selection Test Invoices Channels Quote Channels
More informationPython Call Graph. Release Gerald Kaszuba
Python Call Graph Release 1.0.1 Gerald Kaszuba Sep 21, 2017 Contents 1 Screenshots 3 2 Project Status 5 3 Features 7 4 Quick Start 9 5 Documentation Index 11 5.1 Usage Guide...............................................
More informationACCUZIP EDDM UI REST API CALLS. 100% Cloud Based EDDM List Creation. Abstract EDDM UI to select Carrier Route Boundaries throughout the United States
ACCUZIP EDDM UI REST API CALLS 100% Cloud Based EDDM List Creation Abstract EDDM UI to select Carrier Route Boundaries throughout the United States Steve Belmonte steve@accuzip.com AccuZIP EDDM Web Service
More informationArubaOS-Switch_REST Documentation
ArubaOS-Switch_REST Documentation Release 0.1 Tomas Kubica January 31, 2017 Contents 1 Using curl 1 1.1 Login................................................... 1 1.2 Use....................................................
More informationAlloy Navigator API USER S GUIDE. Integration with External Systems. Product Version: 7.0 Document Revision: 1.0 Date: November 30, 2015
USER S GUIDE Alloy Navigator API Integration with External Systems Product Version: 7.0 Document Revision: 1.0 Date: November 30, 2015 Alloy Software Incorporated 88 Park Avenue, Unit 2B, Nutley, NJ 07110
More informationEscher Documentation. Release Emarsys
Escher Documentation Release 0.4.0 Emarsys Sep 27, 2017 Contents 1 Announcement 3 2 Contents 5 2.1 Specification............................................... 5 2.2 Configuring Escher............................................
More informationMessaging Service REST API Specification V2.3.2 Last Modified: 07.October, 2016
Messaging Service REST API Specification V2.3.2 Last Modified: 07.October, 2016 page 1 Revision history Version Date Details Writer 1.0.0 10/16/2014 First draft Sally Han 1.1.0 11/13/2014 Revised v.1.1
More informationIntegrating with ClearPass HTTP APIs
Integrating with ClearPass HTTP APIs HTTP based APIs The world of APIs is full concepts that are not immediately obvious to those of us without software development backgrounds and terms like REST, RPC,
More informationARTIO SMS Services HTTP API Documentation
ARTIO SMS Services HTTP API Documentation David Jozefov Michal Unzeitig Copyright 2013 - ARTIO International Co. ARTIO SMS Services HTTP API Documentation ARTIO Publication date: 4.9.2013 Version: 1.0.1
More informationaddress view... 3 URL... 3 Method... 3 URL Params... 3 Required... 3 Optional... 3 Data Params... 4 Success Response... 4 Error Response...
CONTENT address view... 3 URL... 3 Method... 3 URL Params... 3 Required... 3 Optional... 3 Data Params... 4 Success Response... 4 Error Response... 4 Sample Call... 4 JQuery/Ajax... 4 Curl... 5 Notes...
More informationPay with Amazon Express Integration Guide
Pay with Amazon Express Integration Guide Pay with Amazon Express Integration Guide Copyright 2014-2015 Amazon.com, Inc. or its affiliates. AMAZON, AMAZON PAYMENTS, and AMAZON.COM are registered trademarks
More informationHTTP Authentication API
HTTP Authentication API Note: Both GET (URL format) and POST http requests are supported. Note that POST is considered better security as URL data can be cached in the browser. HTTP URL Format http(s)://your_securenvoy_server/secserver?flag=desktop&version=2.0&status=auth&userid=(my_userid)&passcode=(6
More informationNETSUITE INTEGRATION. Guide to Setting up Token-Based Authentication in NetSuite
NETSUITE INTEGRATION Guide to Setting up Token-Based Authentication in NetSuite +1 (877) 563-1405 contact@techfino.com This walk-thru guide will provide a step-bystep guide to getting started with token-based
More informationXML API Developer-Documentation Version 2.01
XML API Developer-Documentation Version 2.01 07/23/2015 1 Content Introduction...4 Who needs this information?...4 S-PAY Testing Environment...4 URL to our API...4 Preparation...5 Requirements...5 API
More informationHTTP API Specification V2.7
HTTP API Specification V2.7 Version information Version Comment Date V2.7 Added testsms call 2017-08-09 V2.6 HTTPS information added 2016-12-10 Added error code 4007 V2.5 Changed endpoints 2016-12-09 Added
More informationUsing Redis for data processing in a incident response environment.
Using Redis for data processing in a incident response environment. Practical examples and design patterns. Raphaël Vinot January 23, 2016 Devops & Incident Response Time constraints Similarity of the
More informationThe production version of your service API must be served over HTTPS.
This document specifies how to implement an API for your service according to the IFTTT Service Protocol. It is recommended that you treat this document as a reference and follow the workflow outlined
More informationI was given the following web application: and the instruction could be found on the first page.
I was given the following web application: http://159.203.178.9/ and the instruction could be found on the first page. So, I had to find the path for the application that stores notes and try to exploit
More informationPAS for OpenEdge Support for JWT and OAuth Samples -
PAS for OpenEdge Support for JWT and OAuth 2.0 - Samples - Version 1.0 November 21, 2017 Copyright 2017 and/or its subsidiaries or affiliates. All Rights Reserved. 2 TABLE OF CONTENTS INTRODUCTION... 3
More informationUsing Arcpy.mapping and ArcGIS Server Admin API to Automate Services
Using Arcpy.mapping and ArcGIS Server Admin API to Automate Services 2015 Esri User Conference July 21 st, 2015 Steve Goldman, GISP GIS Manager / GIO California Department of Fish and Wildlife http://www.wildlife.ca.gov
More informationDocumentation to use the Elia Wind Forecasting web services
Documentation to use the Elia Wind Forecasting web services Elia Version 3.7 2018-01-18 Last save on 18/01/2018 16:41:00 Page 1 of 12 Table of Contents Chapter 1. Introduction... 3 1.1. Elia Wind Forecasting
More informationLab 5: Working with REST APIs
Lab 5: Working with REST APIs Oracle's Autonomous Transaction Processing cloud service provides all of the performance of the market-leading Oracle Database in an environment that is tuned and optimized
More informationRSA NetWitness Logs. Salesforce. Event Source Log Configuration Guide. Last Modified: Wednesday, February 14, 2018
RSA NetWitness Logs Event Source Log Configuration Guide Salesforce Last Modified: Wednesday, February 14, 2018 Event Source Product Information: Vendor: Salesforce Event Source: CRM Versions: API v1.0
More informationData Web Service - Client Guide
Data Web Service - Client Guide Introduction The Redcat Data Web Service is a standard, secure way for approved Redcat clients to retrieve data ir SmartReports database. Update access is also available
More informationCIS192 Python Programming
CIS192 Python Programming Web Servers and Web APIs Eric Kutschera University of Pennsylvania March 6, 2015 Eric Kutschera (University of Pennsylvania) CIS 192 March 6, 2015 1 / 22 Outline 1 Web Servers
More informationAd-ID COMPLETE EXTERNAL ACCESS (CEA) SPECIFICATION
Ad-ID COMPLETE EXTERNAL ACCESS (CEA) SPECIFICATION Version 1.5 Revision History Date Updates July 2017 Version 1.5 Updated rules for providing Parent company information for unlocked prefix December 2016
More informationstring signature = CreateSignature(secretKey, messagerepresentation); // hwce6v2ka0kkb0gbbik0gsw5qacs3+vj+m+wn/8k9ee=
Code Examples See also this tutorial for more information about using the ASP.NET web API client libraries. Making a GET request Let's read orders created after a particular date. For security reasons,
More informationAPI Application Programmers Interface
API Application Programmers Interface Version 2.02 Oct 2017 For more information, please contact: Technical Team T: +44 (0)1903 550 242 E: info@24x.com Page2 Contents Overview... 3 API Application Interface...
More informationhttplib2 Release 0.4
httplib2 Release 0.4 June 23, 2017 Contents 1 httplib2 A comprehensive HTTP client library. 3 1.1 Http Objects............................................... 5 1.2 Cache Objects..............................................
More informationREST. Lecture BigData Analytics. Julian M. Kunkel. University of Hamburg / German Climate Computing Center (DKRZ)
REST Lecture BigData Analytics Julian M. Kunkel julian.kunkel@googlemail.com University of Hamburg / German Climate Computing Center (DKRZ) 11-12-2015 Outline 1 REST APIs 2 Julian M. Kunkel Lecture BigData
More information