ucoz-uapi
Module for use with uCoz uAPI for Node.js.
- Go to uCoz uAPI
- Get the following keys: Consumer key, Consumer secret, OAuth token, OAuth token secret.
- Make sure the checkbox "Enable uAPI module" in the module settings (in the Control Panel of the site).
- Use:
var UAPI = ;var uAPI = consumerKey : 'dfg98dfg8df8g9d98gd98g8dfg' consumerSecret : '.dA7xzR7fDlOrltTc7tZHVI95oMsEa' oauthToken : 'BRKkNkf3ZbijzdRC6F9bPhCeYVW7FTtqNRbwsDbq' oauthTokenSecret : 'qSSUWTG7FbryN3ZXpSf0fbZeEVdDkLXYrX2jGrsl' url : 'yousiteurl'; uAPI; uAPI; uAPI; uAPI;
The module uses the realization of certain functions php:
- urlencode
- base64_encode
- mt_rand
- http_build_query