{"id":17766632,"url":"https://github.com/floatdrop/yandex-photos","last_synced_at":"2025-06-15T12:32:43.612Z","repository":{"id":19578940,"uuid":"22828677","full_name":"floatdrop/yandex-photos","owner":"floatdrop","description":"API wrapper on Yandex Photos service","archived":false,"fork":false,"pushed_at":"2015-04-10T09:45:09.000Z","size":168,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-07T11:07:15.632Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/floatdrop.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-08-11T06:04:12.000Z","updated_at":"2015-04-10T09:45:07.000Z","dependencies_parsed_at":"2022-08-23T19:00:42.774Z","dependency_job_id":null,"html_url":"https://github.com/floatdrop/yandex-photos","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/floatdrop%2Fyandex-photos","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/floatdrop%2Fyandex-photos/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/floatdrop%2Fyandex-photos/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/floatdrop%2Fyandex-photos/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/floatdrop","download_url":"https://codeload.github.com/floatdrop/yandex-photos/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246651509,"owners_count":20811991,"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-10-26T20:33:33.965Z","updated_at":"2025-04-01T13:45:19.152Z","avatar_url":"https://github.com/floatdrop.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# yandex-photos [![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Dependency Status][depstat-image]][depstat-url]\n\nClient for [Yandex Photos](http://api.yandex.ru/fotki/doc/concepts/About.xml) service API.\n\n## Usage\n\n```js\nvar fs = require('fs');\n\nvar photos = require('yandex-photos').client(token);\n\nphotos.upload(fs.createReadStream('picture.jpg'), {\n    album: 'urn:yandex:fotki:alekna:album:197816'\n}, function (err, result) {\n    console.log(result);\n});\n\n```\n\n## API\n\n### client(user, oauth, [options])\n\nCreates client to Yandex Photos API.\n\n##### user\nType: `String`  \nContains user name of oauth token.\n\n##### oauth\nType: `String`  \nContains oauth token from OAuth authorization procedure.\n\n##### options\n\n###### api\nType: `String`  \nDefault: `api-fotki.yandex.ru/api`\n\nAddress of Yandex Photos API.\n\n###### protocol\nType: `String`  \nDefault: `http`\n\n### client.upload(file, [options], cb)\nUploads photo to Yandex Photos.\n\n##### file\nType: `Buffer` or `Stream`  \nContents of photo.\n\n##### options\nType: `Object`  \nOptions for upload.\n\n###### options.album\nType: `String`\n\n###### options.title\nType: `String`\n\n###### options.summary\nType: `String`\n\n## License\n\nMIT (c) 2014 Vsevolod Strukchinsky\n\n[npm-url]: https://npmjs.org/package/yandex-photos\n[npm-image]: https://badge.fury.io/js/yandex-photos.png\n\n[travis-url]: http://travis-ci.org/floatdrop/yandex-photos\n[travis-image]: https://travis-ci.org/floatdrop/yandex-photos.png?branch=master\n\n[depstat-url]: https://david-dm.org/floatdrop/yandex-photos\n[depstat-image]: https://david-dm.org/floatdrop/yandex-photos.png?theme=shields.io\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffloatdrop%2Fyandex-photos","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffloatdrop%2Fyandex-photos","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffloatdrop%2Fyandex-photos/lists"}