{"_id":"linkscape","_rev":"12-8bdcbfe42f75bd99540427c2cb977d4e","name":"linkscape","description":"A node.js client for the seoMOZ Linkscape API","dist-tags":{"latest":"0.1.2"},"versions":{"0.1.0":{"name":"linkscape","description":"A node.js client for the seoMOZ Linkscape API","version":"0.1.0","author":{"name":"Michael Peterson"},"main":"lib/linkscape","repository":{"type":"git","url":"http://github.com/mjp/node-linkscape.git"},"engines":{"node":">= 0.2.0"},"_id":"linkscape@0.1.0","_nodeSupported":true,"_npmVersion":"0.2.8-1","_nodeVersion":"v0.2.5","dist":{"tarball":"https://registry.npmjs.org/linkscape/-/linkscape-0.1.0.tgz","shasum":"48d4e61e45a73aaf465fe0774135846cb1534286","integrity":"sha512-tk3xPNTP47PRrUe0V3KdUc8h3xUOpJqAEp3A+1jMPy+LDnj8pc+hg+1JV2DxjR+D8Ulu4zhWjz1Y84MMg1fwpA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCZoCmwqWagRTJ444E6DLdDjyrC2dfNgyofrsRH9Ap4vgIgFwjvGKRHmxllk30fGvS42XiblRbhrVv0Etre3/Ji2ZY="}]}},"0.1.1":{"name":"linkscape","description":"A node.js client for the seoMOZ Linkscape API","version":"0.1.1","author":{"name":"Michael Peterson"},"main":"lib/linkscape","repository":{"type":"git","url":"http://github.com/mjp/node-linkscape.git"},"engines":{"node":">= 0.2.0"},"_id":"linkscape@0.1.1","_nodeSupported":true,"_npmVersion":"0.2.8-1","_nodeVersion":"v0.2.5","dist":{"tarball":"https://registry.npmjs.org/linkscape/-/linkscape-0.1.1.tgz","shasum":"385b0263d41a8860ee859551c6fb6f416b60bf2e","integrity":"sha512-TrjVhx08B5fXwYOLR3QTqeclAD0eWzFdBYuv81GfVHxx0b6E+00knkIQPycjlhpdMNkPFH4HDA1t2b0Jx5HEog==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCCjwmvzvDCDDERjpVIgqpbnG27rwdWdAUn00kKNh8cqAIgNvxUwzobGK/jP3xNDu7cmiTdlht99l11c+qDENSLWb4="}]}},"0.1.2":{"name":"linkscape","description":"A node.js client for the seoMOZ Linkscape API","version":"0.1.2","author":{"name":"Michael Peterson"},"main":"lib/linkscape.js","repository":{"type":"git","url":"http://github.com/mjp/node-linkscape.git"},"engines":{"node":">= 0.2.0"},"readme":"# SeoMOZ Linkscape API Library\n\nNode-linkscape is a node.js module for asynchronously communicating with the\n[seoMOZ linkscape APIs](http://www.seomoz.org/api). It supports the url-metrics, \nlinks, anchor-text, and top-pages APIs.\n\n## Installation\n\nUse [npm](http://npmjs.org/) to install node-linkscape\n\n    npm install linkscape\n\n## Usage\n\n    var Linkscape = require('linkscape').Linkscape;\n\n    var seomoz = new Linkscape('your-access-id', 'your-secret');\n    seomoz.urlMetrics('www.google.com', ['url', 'links'], function(err, res) {\n        if (err) {\n            console.log(err);\n            return;\n        }\n\n        console.log(res);\n    });\n\n## Methods Available\n\n###urlMetrics\n\n    seomoz.urlMetrics(url, cols, callback)\n\n* `url` The URL you want metrics for, ex: `'www.google.com'`\n* `cols` An array of strings for the columns you want in the\nresponse (see `Linkscape.URL_METRICS_FLAGS`). Ex: `['title', 'url', 'links']`\n* `callback` A function to be called asynchronously once the response comes\nback from the API. The function should accept 2 arguments in the following\norder: `error, result` where error will either be an object or null, and\nresult will be an object containing the response from seoMOZ.\n\n###links\n\n    seomoz.links(url, scope, options, callback)\n\n* `url` The URL you want to get links for, ex: `www.google.com`\n* `scope` The scope of the results as per the seoMOZ API docs, ex: `page_to_page`\n* `options` An object with any of the following:\n\n    * `sort` As per the seoMOZ API docs, ex: `page_authority`\n    * `filter` An array of strings, ex: `['internal', external', 'nofollow']`\n    * `targetCols` Array of strings for the columns returned for the target of the link, see `Linkscape.URL_METRICS_FLAGS`\n    * `sourceCols` Array of strings for the columns returned for the source of the link, see `Linkscape.URL_METRICS_FLAGS`\n    * `linkCols` Array of strings for the columns for the link itself, see `Linkscape.LINK_FLAGS`\n\n* `callback` Same as urlMetrics.\n\n###anchorText\n\n    seomoz.anchorText(url, scope, cols, callback)\n\n* `url` The URL you want to get anchor texts for, ex: `www.google.com`\n* `scope` Scope of the link as per the seoMOZ API docs, ex: `phrase_to_page`\n* `cols` Array of strings for the columns returned, see `Linkscape.ANCHOR_TEXT_FLAGS`\n* `callback` Same as urlMetrics.\n\n###topPages\n\n    seomoz.topPages(url, cols, options, callback)\n\n* `url` The subdomain you want results for\n* `cols` An array of strings for the columns you want in the\nresponse (see `Linkscape.URL_METRICS_FLAGS`). Ex: `['title', 'url', 'links']`\n* `options` An object with any of the following:\n\n    * `offset` Return starting at the nth result\n    * `limit` How many results to return (max 1000)\n\n* `callback` Same as urlMetrics\n\n","readmeFilename":"README.md","_id":"linkscape@0.1.2","dist":{"shasum":"3225fed8ed583e630b073d1b88a6d0f2987155e1","tarball":"https://registry.npmjs.org/linkscape/-/linkscape-0.1.2.tgz","integrity":"sha512-TmHLRyfzXwVjpuARqNLj8Elk0WzZxFLClyFgC/le4xJ8FANQUsnj2935qEX7pRDwbQbIsxhJgbkPzfspjInD+Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCEXoZLedEXPZo7qsMJzK3tN4sYGUHM/JngeGyAiWGNOAIhAKhic/cgbRWD47JsTDYNMNVV7/VBMj4maqf0lI/mSyp/"}]},"_npmVersion":"1.1.66","_npmUser":{"name":"peterson514","email":"peterson514@gmail.com"},"maintainers":[{"name":"peterson514","email":"peterson514@gmail.com"}]}},"maintainers":[{"name":"peterson514","email":"peterson514@gmail.com"}],"author":{"name":"Michael Peterson"},"repository":{"type":"git","url":"http://github.com/mjp/node-linkscape.git"},"time":{"0.1.2":"2013-05-17T18:27:33.700Z","modified":"2022-06-19T12:36:38.735Z","created":"2013-05-17T18:27:33.700Z","0.1.0":"2013-05-17T18:27:33.700Z","0.1.1":"2013-05-17T18:27:33.700Z"},"users":{"mimmo1":true,"parkerproject":true}}