{"id":21595183,"url":"https://github.com/euank/node-blerg","last_synced_at":"2025-03-18T11:09:26.602Z","repository":{"id":15204934,"uuid":"17933261","full_name":"euank/node-blerg","owner":"euank","description":"A nodejs blerg client","archived":false,"fork":false,"pushed_at":"2016-12-04T01:41:18.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-25T05:46:04.402Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/euank.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-03-20T06:45:45.000Z","updated_at":"2016-12-04T01:41:19.000Z","dependencies_parsed_at":"2022-07-22T14:02:12.491Z","dependency_job_id":null,"html_url":"https://github.com/euank/node-blerg","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/euank%2Fnode-blerg","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/euank%2Fnode-blerg/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/euank%2Fnode-blerg/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/euank%2Fnode-blerg/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/euank","download_url":"https://codeload.github.com/euank/node-blerg/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244207736,"owners_count":20416107,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-24T17:33:35.943Z","updated_at":"2025-03-18T11:09:26.583Z","avatar_url":"https://github.com/euank.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"node-blerg\n==========\n\nA nodejs blerg client\n\n\nUsage\n=====\n\n```\nvar blerg = require('blerg');\n\nblerg.login('username', 'password', function(err) {\n  blerg.put(\"Blerging from nodejs\", function(err) {\n    if(err) console.log(\"I tried but the blurg ain't blurgin', captian\");\n  });\n  blerg.subscribe('ek', function(err) {\n    if err console.log(err);\n  });\n\n});\n\n// These don't require being logged in\nblerg.info('ek', function(err, res){\n  if(err) return console.log(\"No news is bad news\");\n  console.log(\"There are \" + res.record_count + \" records for ek\");\n});\n\nblerg.get('ek', function(err, res) {\n  if(err) return console.log(\"The signal seems fuzzy\");\n  if(res \u0026\u0026 res[0]) {\n    console.log(\"Ek's most recent post is: '\" + res[0].data + \"' timestamped\n    at \" + res[0].timestamp);\n  }\n});\n```\n\nBasically, read the [api](http://blerg.cc/doc/#api) as put on blerg and just use\nthe path name as the method name. The username argument is only required for the\nlogin call, all others will add it automatically.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feuank%2Fnode-blerg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feuank%2Fnode-blerg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feuank%2Fnode-blerg/lists"}