Advertisement
Guest User

Untitled

a guest
Feb 14th, 2016
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. var request = require("request" );
  2.  
  3. const api_url = "http://kfaucet.lemmmy.pw/api";
  4. const address = "k2sdlnjo1m";
  5.  
  6. function claim() {
  7. request(api_url + "/claim/" + address, function(err, resp, body) {
  8. console.log(body);
  9. });
  10. }
  11.  
  12. setInterval(claim, (1000 * 60 * 60 * 24) + (1000 * 60 * 5));
  13.  
  14. claim();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement