Skip to content
This repository was archived by the owner on Jun 25, 2023. It is now read-only.

Establishing a client & the returned information

Adomix edited this page Oct 4, 2018 · 3 revisions

How to establish the client:

Establishing a client is rather easy.

PushBullientClient client = new PushBulletClient("YourAPIToken");

"YourAPIToken" can be found under your profile settings on PushBullet.

The information that the client returns:

The client only establishes the connection between you and the API. You will need to call the appropriate methods to retrieve the data you want.

// Gets all the client data (ID, name, email etc)
var data = await client.GetUserDataAsync();
// Gets the clients devices
var devices = await client.GetDevicesAsync();
// Gets the client push notification history
var pushes = await client.GetPushesAsync();
// Gets the client chat history
var chats = await client.GetChatsAsync();

Clone this wiki locally