Social Media and other Website API
4 files
-
TeamViewer.au3 UDF
By mLipok
This is TeamViewer.au3 UDF for TeamViewer API.
; #INDEX# ======================================================================== ; Title .........: TeamViewer.au3 ; AutoIt Version : 3.3.10.2++ ; Language ......: English ; Description ...: A collection of function for use with TeamViewer API ; Author ........: mLipok ; Modified ......: ; URL ...........: ; URL ...........: https://www.teamviewer.com/ ; URL ...........: https://www.teamviewer.com/en/integrations/ ; URL ...........: https://integrate.teamviewer.com/en/develop/api/get-started/ ; URL ...........: https://downloadeu1.teamviewer.com/integrate/TeamViewer_API_Documentation.pdf ; Remarks .......: This UDF was created based on TeamViewer_API_Documentation.pdf v 1.4.1 ; Remarks .......: This UDF is using Free Chilkat component look here https://www.autoitscript.com/forum/files/file/433-chilkat-udf/ ; Remarks .......: Documentation is "work in progress" ; Date ..........: 2017/02/08 ; Version .......: 0.1.1 BETA - Work in progress ; ================================================================================
I'm using TeamViewer_Example.ini to store my secret tokens/keys.
[Settings] AccessToken= [OAuth2] ClientID= ClientSecret= authorizationCode=
in TeamViewer_Example.au3 you can see few examples:
Func _Example() ; If not exist then create new INI file from template If Not FileExists('TeamViewer_Example.ini') Then FileCopy('TeamViewer_Example — Template.ini', 'TeamViewer_Example.ini') ; Read Access Token from INI Local $sTV_AccessToken = IniRead('TeamViewer_Example.ini', 'Settings', 'AccessToken', '') If $sTV_AccessToken = '' Then ; Your Access Token, can be left empty when OAuth (below) is configured. ; ClientId = <----------------- Create an app in your TeamViewer Management Console and insert the client ID to the INI ; ClientSecret = <------------- Insert your client secret to the INI ; AuthorizationCode = <-------- Visit https://webapi.teamviewer.com/api/v1/oauth2/authorize?response_type=code&client_id=YOUR$i_ClientIdHERE ; Login, grant the permissions (popup) and put the code shown in the AuthorizationCode variable to the INI Local $sTVOAuth_ClientID = IniRead('TeamViewer_Example.ini', 'OAuth2', 'ClientID', '') Local $sTVOAuth_ClientSecret = IniRead('TeamViewer_Example.ini', 'OAuth2', 'ClientSecret', '') _IECreate('https://webapi.teamviewer.com/api/v1/oauth2/authorize?response_type=code&client_id=' & $sTVOAuth_ClientID) ; Local $sTVOAuth_AuthorizationCode = IniRead('TeamViewer_Example.ini', 'OAuth2', 'authorizationCode', '') Local $sTVOAuth_AuthorizationCode = InputBox('AuthorizationCode', 'Please provide TV OAuth2 AuthorizationCode') If @error Then Return If $sTVOAuth_ClientID Then $sTV_AccessToken = _TVAPI_RequestOAuth2_AccessToken($sTVOAuth_ClientID, $sTVOAuth_ClientSecret, $sTVOAuth_AuthorizationCode) EndIf If $sTV_AccessToken Then _TVAPI_AccessToken($sTV_AccessToken) If _TVAPI_Ping() = True Then ; ping API to check connection and $sTV_AccessToken _Example_TeamViewer__1_Devices_SaveToFile() ;~ _Example_TeamViewer__2_Devices_ChangeDetails() ;~ _Example_TeamViewer__3_Devices_GetDevicesSingleID() ;~ _Example_TeamViewer__4_Reports_GetAllConnections() ;~ _Example_TeamViewer__5_Users_GetUserInfomation() ;~ _Example_TeamViewer__6_Groups_ListGroups() ;~ _Example_TeamViewer__7_Devices_AddDeleteDevice() Else MsgBox(0, '_TVAPI_Ping', "$v_Token or connection problem.") EndIf EndFunc ;==>_Example
SUPPORT TOPIC IS HERE:
TeamViewer_Example — Template.ini
656 downloads
0 comments
Updated
-
Imgur UDF 1.0.0
By J2TeaM
This is an AutoIt UDF to help you upload images using Imgur API.
Simple example:
#NoTrayIcon #include 'Imgur.au3' Global $fp = FileOpenDialog('Open', @ScriptDir, 'Images (*.jpg;*.gif;*.png;*.bmp)', 1) If Not @error Then Local $image_url = _imgur_upload($fp) If @error Then MsgBox(16 + 262144, 'Error', 'Upload image failed!') Else ; Open with default browser ShellExecute($image_url) EndIf EndIfGithub: https://github.com/J2TeaM/AutoIt-Imgur-UDF
160 downloads
0 comments
Updated
-
Dropbox authenticator
By Gimerly
This .au3 file will take the trouble out of trying to gain your dropbox oauth_access_token and oauth_access_token_secret by doing it for you. when first run the program it will create an empty folder on your desktop. As you progress through the application it will create text files as needed. Be sure to follow each of the message box's instructions as it is vital that each step be completed before moving onto the next. Enjoy
1,089 downloads
- Dropbox
- oauth access token
- (and 3 more)
-
iTunes UDF
By torels
_iTunes_Start()
_iTunes_Vol_Up()
_iTunes_Vol_Down()
_iTunes_Prev()
_iTunes_Next()
_iTunes_Current_LyricsSet()
_iTunes_Current_LyricsGet()
_iTunes_Current_ArtworkSaveToTmp()
_iTunes_Current_Artwork_Get()
_iTunes_Current_Artwork_Set()
_iTunes_Play_Pause()
_iTunes_PlayList_Create()
_iTunes_PlayList_Add()
_iTunes_Playlist_Delete()
_iTunes_Playlist_Info()
_iTunes_Playlist_PlayFirst()
_iTunes_Playlist_Search()
_iTunes_Library_CountTracks()
_iTunes_Library_AddTrack()
_iTunes_Song_LyricsGet()
_iTunes_Song_LyricsSet()
_iTunes_Song_ArtworkSaveToTmp()
_iTunes_Song_Artwork_Get()
_iTunes_Song_Artwork_Set()
_iTunes_Library_DeleteTrack()
_iTunes_Get_Vol()
_iTunes_Vol_Set()
_iTunes_Get_Selected()
_iTunes_Selected_GetInfo()
_iTunes_Song_GetInfo()
_iTunes_Current_GetInfo()
_iTunes_Quit()
_iTunes_iPod_Update()
_iTunes_iPod_Eject()
_iTunes_iPod_Version()
_iTUnes_Visuals_Enable()
_iTunes_Visuals_Disable()
_iTunes_Get_ITL_Path()
_iTunes_Podcast_Subscribe()
_iTunes_Podcast_UpdateFeeds()
_iTunes_Player_Get_State()
_iTunes_MiniPlayer()
1,707 downloads
0 comments
Updated