put.io-node
Version:
A Node.js wrapper for put.io APIv2 http://put.io
14 lines (11 loc) • 435 B
text/typescript
import {PutIoHelper} from '../helpers/PutIoHelper';
export class Events extends PutIoHelper {
/**
*
* Returns List of dashboard events. Includes download and share events.
* First event entry indicates a completed transfer, second entry indicates a shared file from the friend ‘johndoe’.
*/
public getEventsList(): Promise<string> {
return this.requestData('GET', 'events/list', []);
}
}