Chilkat Examples

ChilkatHOMEAndroid™Classic ASPCC++C#Mono C#.NET Core C#C# UWP/WinRTDataFlexDelphi ActiveXDelphi DLLVisual FoxProJavaLianjaMFCObjective-CPerlPHP ActiveXPHP ExtensionPowerBuilderPowerShellPureBasicCkPythonChilkat2-PythonRubySQL ServerSwift 2Swift 3,4,5...TclUnicode CUnicode C++Visual Basic 6.0VB.NETVB.NET UWP/WinRTVBScriptXojo PluginNode.jsExcelGo

VB.NET UWP/WinRT Web API Examples

Primary Categories

ABN AMRO
AWS Secrets Manager
AWS Translate
Activix CRM
Adyen
Alibaba Cloud OSS
Amazon Cognito
Amazon DynamoDB
Amazon MWS
Amazon Pay
Amazon Rekognition
Amazon Voice ID
Aruba Fatturazione
Azure Maps
Azure Monitor
Azure OAuth2
Azure Storage Accounts
Backblaze S3
Bitfinex v2 REST
Bluzone
BrickLink
CallRail
CardConnect
Cerved
ClickBank
Clickatell
Cloudfare
Constant Contact
DocuSign
Duo Auth MFA
ETrade
Ecwid
Egypt ITIDA
Etsy
Facebook
Faire
Frame.io
GeoOp
GetHarvest
Global Payments
Google People
Google Search Console
Hungary NAV Invoicing
IBM Text to Speech
Ibanity
IntakeQ
Jira
Lightspeed
MYOB
Magento
Mailgun
Mastercard

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

 

 

 

(VB.NET UWP/WinRT) Frame.io - Get Team ID

Get your team ID.

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

Chilkat Universal Windows Platform (UWP) / WinRT Downloads

Chilkat for the Universal Windows Platform (UWP)

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

Dim http As New Chilkat.Http
Dim success As Boolean

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

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

Dim sbResponseBody As New Chilkat.StringBuilder
success = Await http.QuickGetSbAsync("https://api.frame.io/v2/accounts/{$account_id}/teams",sbResponseBody)
If (success = False) Then
    Debug.WriteLine(http.LastErrorText)
    Exit Sub
End If


Dim jResp As New Chilkat.JsonObject
jResp.LoadSb(sbResponseBody)
jResp.EmitCompact = False

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

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


' 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




Dim image_64 As String = jResp.StringOf("image_64")
Dim project_count As Integer = jResp.IntOf("project_count")
Dim default_color As String = jResp.StringOf("default_color")
Dim deleted_at As String = jResp.StringOf("deleted_at")
Dim image_256 As String = jResp.StringOf("image_256")
Dim background_color As String = jResp.StringOf("background_color")
Dim font_color As String = jResp.StringOf("font_color")
Dim email_branding_type As String = jResp.StringOf("email_branding._type")
Dim email_brandingAccent_color As String = jResp.StringOf("email_branding.accent_color")
Dim email_brandingBackground_color As String = jResp.StringOf("email_branding.background_color")
Dim email_brandingDefault_accent_color As String = jResp.StringOf("email_branding.default_accent_color")
Dim email_brandingDefault_background_color As String = jResp.StringOf("email_branding.default_background_color")
Dim email_brandingId As String = jResp.StringOf("email_branding.id")
Dim email_brandingImage As String = jResp.StringOf("email_branding.image")
Dim email_brandingUpload_url As String = jResp.StringOf("email_branding.upload_url")
Dim bio As String = jResp.StringOf("bio")
Dim updated_at As String = jResp.StringOf("updated_at")
Dim link As String = jResp.StringOf("link")
Dim default_font_color As String = jResp.StringOf("default_font_color")
Dim image_128 As String = jResp.StringOf("image_128")
Dim dark_theme As Boolean = jResp.BoolOf("dark_theme")
Dim disable_sbwm_internally As Boolean = jResp.BoolOf("disable_sbwm_internally")
Dim account_id As String = jResp.StringOf("account_id")
Dim name As String = jResp.StringOf("name")
Dim location As String = jResp.StringOf("location")
Dim solo As Boolean = jResp.BoolOf("solo")
Dim watermark As String = jResp.StringOf("watermark")
Dim file_count As Integer = jResp.IntOf("file_count")
Dim duration As Integer = jResp.IntOf("duration")
Dim image_32 As String = jResp.StringOf("image_32")
Dim team_image As String = jResp.StringOf("team_image")
Dim default_background_color As String = jResp.StringOf("default_background_color")
Dim resource_id As String = jResp.StringOf("resource_id")
Dim color As String = jResp.StringOf("color")
Dim frames As Integer = jResp.IntOf("frames")
Dim storage As Integer = jResp.IntOf("storage")
Dim collaborator_count As Integer = jResp.IntOf("collaborator_count")
Dim creator_id As String = jResp.StringOf("creator_id")
Dim default_session_watermark_template_id As String = jResp.StringOf("default_session_watermark_template_id")
Dim archived_storage As Integer = jResp.IntOf("archived_storage")
Dim slack_webhook As String = jResp.StringOf("slack_webhook")
Dim upload_url As String = jResp.StringOf("upload_url")
Dim member_count As Integer = jResp.IntOf("member_count")
Dim v_type As String = jResp.StringOf("_type")
Dim asset_lifecycle_policy As String = jResp.StringOf("asset_lifecycle_policy")
Dim member_limit As String = jResp.StringOf("member_limit")
Dim id As String = jResp.StringOf("id")
Dim storage_limit As String = jResp.StringOf("storage_limit")
Dim access As String = jResp.StringOf("access")
Dim inserted_at As String = jResp.StringOf("inserted_at")
Dim folder_count As Integer = jResp.IntOf("folder_count")

 

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