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 Basic 6.0 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 Basic 6.0) Frame.io - Get Account ID

Make a GET /me request if you don't have your Account ID on hand:

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

Chilkat ActiveX Downloads

ActiveX for 32-bit and 64-bit Windows

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

Dim http As New ChilkatHttp
Dim success As Long

' Implements the following CURL command:

' curl \
'     -H "Authorization: Bearer <FRAME_IO_DEV_TOKEN>" \
'     https://api.frame.io/v2/me

' 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.
http.AuthToken = "<FRAME_IO_DEV_TOKEN>"

Dim sbResponseBody As New ChilkatStringBuilder
success = http.QuickGetSb("https://api.frame.io/v2/me",sbResponseBody)
If (success = 0) Then
    Debug.Print http.LastErrorText
    Exit Sub
End If

Dim jResp As New ChilkatJsonObject
success = jResp.LoadSb(sbResponseBody)
jResp.EmitCompact = 0

Debug.Print "Response Body:"
Debug.Print jResp.Emit()

Dim respStatusCode As Long
respStatusCode = http.LastStatus
Debug.Print "Response Status Code = " & respStatusCode
If (respStatusCode >= 400) Then
    Debug.Print "Response Header:"
    Debug.Print http.LastHeader
    Debug.Print "Failed."
    Exit Sub
End If

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

' {
'   "_type": "user",
'   "account_id": "b1cd046b-a3bf-4ef8-81a6-0afd74ecc455",
'   "bio": null,
'   "context": null,
'   "deleted_at": null,
'   "digest_frequency": "*/5 * * * *",
'   "email": "admin@chilkatsoft.com",
'   "email_confirm_by": null,
'   "email_preferences": null,
'   "features_seen": null,
'   "first_login_at": "2020-08-18T02:20:56.732000Z",
'   "from_google": false,
'   "id": "34b4f98a-7cc9-4159-8f46-c7c3d837fc6f",
'   "image_128": null,
'   "image_256": null,
'   "image_32": null,
'   "image_64": null,
'   "inserted_at": "2020-08-18T02:20:13.145929Z",
'   "joined_via": "organic",
'   "last_seen": "2020-08-18T02:20:52.852871Z",
'   "location": null,
'   "name": "Chilkat Software",
'   "next_digest_date": "2020-08-18T02:20:13.145828Z",
'   "phone": null,
'   "profile_image": "https://static-assets.frame.io/app/anon.jpg",
'   "profile_image_original": null,
'   "roles": null,
'   "timezone_value": "America/New_York",
'   "updated_at": "2020-08-18T02:20:56.950455Z",
'   "upload_url": "https://frameio-uploads-production.s3-accelerate.amazonaws.com/users/34b4f...cdcfe42b2e2f",
'   "user_default_color": "#ff40ff",
'   "user_hash": "1D39653455C86A85CA3D479C6D2ACE831211BC1B65770DF3747116DD320C3A00"
' }

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

Dim v_type As String
v_type = jResp.StringOf("_type")
Dim account_id As String
account_id = jResp.StringOf("account_id")
Dim bio As String
bio = jResp.StringOf("bio")
Dim context As String
context = jResp.StringOf("context")
Dim deleted_at As String
deleted_at = jResp.StringOf("deleted_at")
Dim digest_frequency As String
digest_frequency = jResp.StringOf("digest_frequency")
Dim email As String
email = jResp.StringOf("email")
Dim email_confirm_by As String
email_confirm_by = jResp.StringOf("email_confirm_by")
Dim email_preferences As String
email_preferences = jResp.StringOf("email_preferences")
Dim features_seen As String
features_seen = jResp.StringOf("features_seen")
Dim first_login_at As String
first_login_at = jResp.StringOf("first_login_at")
Dim from_google As Long
from_google = jResp.BoolOf("from_google")
Dim id As String
id = jResp.StringOf("id")
Dim image_128 As String
image_128 = jResp.StringOf("image_128")
Dim image_256 As String
image_256 = jResp.StringOf("image_256")
Dim image_32 As String
image_32 = jResp.StringOf("image_32")
Dim image_64 As String
image_64 = jResp.StringOf("image_64")
Dim inserted_at As String
inserted_at = jResp.StringOf("inserted_at")
Dim joined_via As String
joined_via = jResp.StringOf("joined_via")
Dim last_seen As String
last_seen = jResp.StringOf("last_seen")
Dim location As String
location = jResp.StringOf("location")
Dim name As String
name = jResp.StringOf("name")
Dim next_digest_date As String
next_digest_date = jResp.StringOf("next_digest_date")
Dim phone As String
phone = jResp.StringOf("phone")
Dim profile_image As String
profile_image = jResp.StringOf("profile_image")
Dim profile_image_original As String
profile_image_original = jResp.StringOf("profile_image_original")
Dim roles As String
roles = jResp.StringOf("roles")
Dim timezone_value As String
timezone_value = jResp.StringOf("timezone_value")
Dim updated_at As String
updated_at = jResp.StringOf("updated_at")
Dim upload_url As String
upload_url = jResp.StringOf("upload_url")
Dim user_default_color As String
user_default_color = jResp.StringOf("user_default_color")
Dim user_hash As String
user_hash = jResp.StringOf("user_hash")

 

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