1.0.20 • Published 1 year ago

@cloudos/gitee-api v1.0.20

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year 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

1 year ago

1.0.18

1 year ago

1.0.17

1 year ago

1.0.16

1 year ago

1.0.20

1 year ago

1.0.15

1 year ago

1.0.14

1 year ago

1.0.13

1 year ago

1.0.12

1 year ago

1.0.11

1 year ago

1.0.10

1 year ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago