{"id":19935387,"url":"https://github.com/jzarca01/node-shine","last_synced_at":"2026-05-06T00:07:20.304Z","repository":{"id":60179365,"uuid":"164313491","full_name":"jzarca01/node-shine","owner":"jzarca01","description":"Une API pour la banque en ligne Shine","archived":false,"fork":false,"pushed_at":"2019-01-06T14:55:40.000Z","size":8,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-08T12:53:24.056Z","etag":null,"topics":["api","graphql","nodejs","shine"],"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/jzarca01.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":"2019-01-06T14:12:53.000Z","updated_at":"2022-09-26T09:33:24.000Z","dependencies_parsed_at":"2022-09-26T10:50:19.306Z","dependency_job_id":null,"html_url":"https://github.com/jzarca01/node-shine","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jzarca01/node-shine","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jzarca01%2Fnode-shine","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jzarca01%2Fnode-shine/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jzarca01%2Fnode-shine/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jzarca01%2Fnode-shine/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jzarca01","download_url":"https://codeload.github.com/jzarca01/node-shine/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jzarca01%2Fnode-shine/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32672689,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-05T11:29:49.557Z","status":"ssl_error","status_checked_at":"2026-05-05T11:29:48.587Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["api","graphql","nodejs","shine"],"created_at":"2024-11-12T23:19:49.777Z","updated_at":"2026-05-06T00:07:20.282Z","avatar_url":"https://github.com/jzarca01.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# node-shine\n\nUne API pour la banque en ligne [Shine](https://www.shine.fr/)\n\n## Usage\n\n```javascript\nconst Shine = require('node-shine');\nconst shine = new Shine();\n```\n\n## 2 Factor-Authentication\n\nA chaque authentification, Shine regarde si l'utilisateur se connecte depuis le même device qu'à la dernière connexion.\n\n```javascript\nthis.device = {\n  uuid: 'DEVICE_UUID',\n  model: 'DEVICE_MODEL',\n  name: 'DEVICE_NAME'\n};\n```\n\nSi tel est le cas, alors la méthode `shine.startAuth()` renverra un access_token, sinon Shine enverra un SMS à l'utilisateur avec un code pour s'authentifier grâce à la méthode `shine.authNewDevice()`\n\n## Comment éviter le 2-FA\n\nLors de l'instanciation de la classe Shine, on peut spécifier les propriétés suivantes :\n\n```javascript\nconst shine = new Shine({\n  uuid: 'PREVIOUS_UUID',\n  name: 'PREVIOUS_NAME',\n  model: 'PREVIOUS_MODEL'\n});\n```\n\n## Example\n\nVoir l'[example](example/index.js)\n\n## Méthodes\n\n### Get Profile\n\n```javascript\nconst profile = shine.getProfile();\n```\n\n### Get Company Profile\n\n```javascript\nconst companyProfile = shine.getCompanyProfile();\n```\n\n### Search company\n\n```javascript\nconst results = shine.searchCompany(searchTerm);\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjzarca01%2Fnode-shine","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjzarca01%2Fnode-shine","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjzarca01%2Fnode-shine/lists"}