1.0.20 • Published 2 years ago

@cloudos/gitee-api v1.0.20

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

��

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;
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), it's not complicated.

License

MIT License.

1.0.19

2 years ago

1.0.18

2 years ago

1.0.17

2 years ago

1.0.16

2 years ago

1.0.20

2 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