Chilkat Examples

ChilkatHOME.NET Core C#Android™AutoItCC#C++Chilkat2-PythonCkPythonClassic ASPDataFlexDelphi ActiveXDelphi DLLGoJavaLianjaMono C#Node.jsObjective-CPHP ActiveXPHP ExtensionPerlPowerBuilderPowerShellPureBasicRubySQL ServerSwift 2Swift 3,4,5...TclUnicode CUnicode C++VB.NETVBScriptVisual Basic 6.0Visual FoxProXojo Plugin

Visual FoxPro Web API Examples

Primary Categories

ABN AMRO
AWS Secrets Manager
AWS Security Token Service
AWS Translate
Activix CRM
Adyen
Alibaba Cloud OSS
Amazon Cognito
Amazon DynamoDB
Amazon MWS
Amazon Pay
Amazon Rekognition
Amazon SP-API
Amazon Voice ID
Aruba Fatturazione
Azure Maps
Azure Monitor
Azure OAuth2
Azure Storage Accounts
Backblaze S3
Banco Inter
Belgian eHealth Platform
Bitfinex v2 REST
Bluzone
BrickLink
Bunny CDN
CallRail
CardConnect
Cerved
ClickBank
Clickatell
Cloudfare
Constant Contact
DocuSign
Duo Auth MFA
ETrade
Ecwid
Egypt ITIDA
Egypt eReceipt
Etsy
Facebook
Faire
Frame.io
GeoOp
GetHarvest
Global Payments
Google People
Google Search Console
Google Translate
Google Vision
Hungary NAV Invoicing
IBM Text to Speech
Ibanity
IntakeQ
JCC Cyprus
Jira
Lightspeed
MYOB
Magento
Mailgun
Malaysia MyInvois

Mastercard
MedTunnel
MercadoLibre
MessageMedia
Microsoft Calendar
Microsoft Group
Microsoft Tasks and Plans
Microsoft Teams
Moody's
Okta OAuth/OIDC
OneLogin OIDC
OneNote
OpenAI ChatGPT
PRODA
PayPal
Paynow.pl
Peoplevox
Populi
QuickBooks
Rabobank
Refinitiv
Royal Mail OBA
SCiS Schools Catalogue
SII Chile
SMSAPI
SOAP finkok.com
Salesforce
SendGrid
Shippo
Shopify
Shopware
Shopware 6
SimpleTexting
Square
Stripe
SugarCRM
TicketBAI
TikTok Shop
Trello
Twilio
Twitter API v2
Twitter v1
UPS
UniPin
VoiceBase
Vonage
WaTrend
Walmart v3
Wasabi
WhatsApp
WiX
WooCommerce
WordPress
Xero
Yahoo Mail
Yapily
Yousign
ZATCA
Zendesk
Zoom
_Miscellaneous_
eBay
effectconnect
hacienda.go.cr

 

 

 

(Visual FoxPro) Frame.io - Get Team ID

Get your team ID.

For more information, see https://docs.frame.io/docs/root-asset-ids

Chilkat ActiveX Downloads

ActiveX for 32-bit and 64-bit Windows

LOCAL loHttp
LOCAL lnSuccess
LOCAL loSbResponseBody
LOCAL loJResp
LOCAL lnRespStatusCode
LOCAL lcImage_64
LOCAL lnProject_count
LOCAL lcDefault_color
LOCAL lcDeleted_at
LOCAL lcImage_256
LOCAL lcBackground_color
LOCAL lcFont_color
LOCAL lcEmail_branding_type
LOCAL lcEmail_brandingAccent_color
LOCAL lcEmail_brandingBackground_color
LOCAL lcEmail_brandingDefault_accent_color
LOCAL lcEmail_brandingDefault_background_color
LOCAL lcEmail_brandingId
LOCAL lcEmail_brandingImage
LOCAL lcEmail_brandingUpload_url
LOCAL lcBio
LOCAL lcUpdated_at
LOCAL lcLink
LOCAL lcDefault_font_color
LOCAL lcImage_128
LOCAL lnDark_theme
LOCAL lnDisable_sbwm_internally
LOCAL lcAccount_id
LOCAL lcName
LOCAL lcLocation
LOCAL lnSolo
LOCAL lcWatermark
LOCAL lnFile_count
LOCAL lnDuration
LOCAL lcImage_32
LOCAL lcTeam_image
LOCAL lcDefault_background_color
LOCAL lcResource_id
LOCAL lcColor
LOCAL lnFrames
LOCAL lnStorage
LOCAL lnCollaborator_count
LOCAL lcCreator_id
LOCAL lcDefault_session_watermark_template_id
LOCAL lnArchived_storage
LOCAL lcSlack_webhook
LOCAL lcUpload_url
LOCAL lnMember_count
LOCAL lcV_type
LOCAL lcAsset_lifecycle_policy
LOCAL lcMember_limit
LOCAL lcId
LOCAL lcStorage_limit
LOCAL lcAccess
LOCAL lcInserted_at
LOCAL lnFolder_count

* This example assumes the Chilkat API to have been previously unlocked.
* See Global Unlock Sample for sample code.

* For versions of Chilkat < 10.0.0, use CreateObject('Chilkat_9_5_0.Http')
loHttp = CreateObject('Chilkat.Http')

* Implements the following CURL command:

* curl \
*     -H "Authorization: Bearer <FRAME_IO_DEV_TOKEN>" \
*     https://api.frame.io/v2/accounts/<ACCOUNT_ID>/teams

* Use the following online tool to generate HTTP code from a CURL command
* Convert a cURL Command to HTTP Source Code

* Adds the "Authorization: Bearer <FRAME_IO_DEV_TOKEN>" header.
loHttp.AuthToken = "<FRAME_IO_DEV_TOKEN>"

loHttp.SetUrlVar("account_id","b1cd046b-a3bf-4ef8-81a6-0afd74ecc455")

* For versions of Chilkat < 10.0.0, use CreateObject('Chilkat_9_5_0.StringBuilder')
loSbResponseBody = CreateObject('Chilkat.StringBuilder')
lnSuccess = loHttp.QuickGetSb("https://api.frame.io/v2/accounts/{$account_id}/teams",loSbResponseBody)
IF (lnSuccess = 0) THEN
    ? loHttp.LastErrorText
    RELEASE loHttp
    RELEASE loSbResponseBody
    CANCEL
ENDIF

* For versions of Chilkat < 10.0.0, use CreateObject('Chilkat_9_5_0.JsonObject')
loJResp = CreateObject('Chilkat.JsonObject')
loJResp.LoadSb(loSbResponseBody)
loJResp.EmitCompact = 0

? "Response Body:"
? loJResp.Emit()

lnRespStatusCode = loHttp.LastStatus
? "Response Status Code = " + STR(lnRespStatusCode)
IF (lnRespStatusCode >= 400) THEN
    ? "Response Header:"
    ? loHttp.LastHeader
    ? "Failed."
    RELEASE loHttp
    RELEASE loSbResponseBody
    RELEASE loJResp
    CANCEL
ENDIF

* Sample JSON response:
* (Sample code for parsing the JSON response is shown below)

* {
*   "image_64": null,
*   "project_count": 1,
*   "default_color": "5B53FF",
*   "deleted_at": null,
*   "image_256": null,
*   "background_color": null,
*   "session_watermark_templates": [
*   ],
*   "font_color": null,
*   "email_branding": {
*     "_type": "email_branding",
*     "accent_color": null,
*     "background_color": null,
*     "default_accent_color": "5B53FF",
*     "default_background_color": "F7F8FA",
*     "id": "71cddf30-cdd6-4db9-9f1f-f119c3a6c36d",
*     "image": null,
*     "upload_url": "https://frameio-uploads-production.s3-accelerate.amazonaws.com/email_branding/71c...508199e26038"
*   },
*   "bio": null,
*   "updated_at": "2020-08-18T02:20:14.432078Z",
*   "link": null,
*   "default_font_color": "20222B",
*   "image_128": null,
*   "dark_theme": false,
*   "disable_sbwm_internally": false,
*   "account_id": "b1cd046b-a3bf-4ef8-81a6-0afd74ecc455",
*   "name": "Chilkat's Team",
*   "location": null,
*   "solo": false,
*   "watermark": null,
*   "file_count": 0,
*   "duration": 0,
*   "image_32": null,
*   "team_image": null,
*   "default_background_color": "FFFFFF",
*   "resource_id": "8e32b1ae-86db-4164-83b1-81b37b2e7499",
*   "color": null,
*   "frames": 0,
*   "storage": 0,
*   "collaborator_count": 1,
*   "creator_id": "34b4f98a-7cc9-4159-8f46-c7c3d837fc6f",
*   "default_session_watermark_template_id": null,
*   "archived_storage": 0,
*   "slack_webhook": null,
*   "upload_url": "https://frameio-uploads-production.s3-accelerate.amazonaws.com/teams/95a5fb..a86b2663",
*   "member_count": 1,
*   "_type": "team",
*   "asset_lifecycle_policy": null,
*   "member_limit": null,
*   "id": "95a5fbad-688d-46fc-aef1-2f011dd76c10",
*   "storage_limit": null,
*   "access": "private",
*   "inserted_at": "2020-08-18T02:20:13.171582Z",
*   "folder_count": 0
* }

* Sample code for parsing the JSON response...
* Use the following online tool to generate parsing code from sample JSON:
* Generate Parsing Code from JSON

lcImage_64 = loJResp.StringOf("image_64")
lnProject_count = loJResp.IntOf("project_count")
lcDefault_color = loJResp.StringOf("default_color")
lcDeleted_at = loJResp.StringOf("deleted_at")
lcImage_256 = loJResp.StringOf("image_256")
lcBackground_color = loJResp.StringOf("background_color")
lcFont_color = loJResp.StringOf("font_color")
lcEmail_branding_type = loJResp.StringOf("email_branding._type")
lcEmail_brandingAccent_color = loJResp.StringOf("email_branding.accent_color")
lcEmail_brandingBackground_color = loJResp.StringOf("email_branding.background_color")
lcEmail_brandingDefault_accent_color = loJResp.StringOf("email_branding.default_accent_color")
lcEmail_brandingDefault_background_color = loJResp.StringOf("email_branding.default_background_color")
lcEmail_brandingId = loJResp.StringOf("email_branding.id")
lcEmail_brandingImage = loJResp.StringOf("email_branding.image")
lcEmail_brandingUpload_url = loJResp.StringOf("email_branding.upload_url")
lcBio = loJResp.StringOf("bio")
lcUpdated_at = loJResp.StringOf("updated_at")
lcLink = loJResp.StringOf("link")
lcDefault_font_color = loJResp.StringOf("default_font_color")
lcImage_128 = loJResp.StringOf("image_128")
lnDark_theme = loJResp.BoolOf("dark_theme")
lnDisable_sbwm_internally = loJResp.BoolOf("disable_sbwm_internally")
lcAccount_id = loJResp.StringOf("account_id")
lcName = loJResp.StringOf("name")
lcLocation = loJResp.StringOf("location")
lnSolo = loJResp.BoolOf("solo")
lcWatermark = loJResp.StringOf("watermark")
lnFile_count = loJResp.IntOf("file_count")
lnDuration = loJResp.IntOf("duration")
lcImage_32 = loJResp.StringOf("image_32")
lcTeam_image = loJResp.StringOf("team_image")
lcDefault_background_color = loJResp.StringOf("default_background_color")
lcResource_id = loJResp.StringOf("resource_id")
lcColor = loJResp.StringOf("color")
lnFrames = loJResp.IntOf("frames")
lnStorage = loJResp.IntOf("storage")
lnCollaborator_count = loJResp.IntOf("collaborator_count")
lcCreator_id = loJResp.StringOf("creator_id")
lcDefault_session_watermark_template_id = loJResp.StringOf("default_session_watermark_template_id")
lnArchived_storage = loJResp.IntOf("archived_storage")
lcSlack_webhook = loJResp.StringOf("slack_webhook")
lcUpload_url = loJResp.StringOf("upload_url")
lnMember_count = loJResp.IntOf("member_count")
lcV_type = loJResp.StringOf("_type")
lcAsset_lifecycle_policy = loJResp.StringOf("asset_lifecycle_policy")
lcMember_limit = loJResp.StringOf("member_limit")
lcId = loJResp.StringOf("id")
lcStorage_limit = loJResp.StringOf("storage_limit")
lcAccess = loJResp.StringOf("access")
lcInserted_at = loJResp.StringOf("inserted_at")
lnFolder_count = loJResp.IntOf("folder_count")

RELEASE loHttp
RELEASE loSbResponseBody
RELEASE loJResp


 

© 2000-2024 Chilkat Software, Inc. All Rights Reserved.