1.0.20 • Published 3 years ago

@cloudos/gitee-api v1.0.20

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

��<div id="top"></div> <div align="center"> <h3 align="center">Gitee API</h3> <p align="center"> <b>Manage your Gitee account in javascript.</b> <!-- <br/> --> <!-- <a href="README_CN.md">-N�e�ech</a> --> </p> </div> ## About The Project This library provides easy-to-use javascript/typescript apis to access gitee.com data like user info, repo, branch and files; ### Built With typescript axios ## Getting Started 1. Install this library npm i @cloudos/gitee-api or yarn add @cloudos/gitee-api. 2. Using the apis in your code; js import giteeApi from '@cloudos/gitee-api'; client=giteeApi.createGiteeClient({accessToken:"xxx"}); client.File.add({owner:"your-gitee-username",repo:"your-gitee-repo",path:"/test.txt",content:"test message for gitee api",message:"add file /test.txt", branch:"master"}).then(()=>{ console.log("Success."); }); ### Usage Check the apis defined in the code (src/index.ts(src/index.ts)), it's not complicated. ## License MIT License. <p align="right">(<a href="#top">back to top</a>)</p>

1.0.19

3 years ago

1.0.18

3 years ago

1.0.17

3 years ago

1.0.16

3 years ago

1.0.20

3 years ago

1.0.15

3 years ago

1.0.14

3 years ago

1.0.13

3 years ago

1.0.12

3 years ago

1.0.11

3 years ago

1.0.10

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago