New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

tikapi

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tikapi - npm Package Compare versions

Comparing version 2.0.3 to 2.0.4

21

api.js

@@ -487,3 +487,22 @@ const Wrape = require("wrape");

}
}
},
music: {
help: "Get posts by music ID",
path: "/public/music",
params: {
id: {
required: true,
validate: "^[0-9]+$",
help: "The music ID"
},
count: {
default: 30,
validate: "^[0-9]{1,2}$"
},
cursor: {
validate: "^[0-9]+$",
help: "The starting point of items list"
}
}
},
},

@@ -490,0 +509,0 @@

2

package.json
{
"name": "tikapi",
"version": "2.0.3",
"version": "2.0.4",
"description": "An fully managed unofficial TikTok app with OAuth capabilities",

@@ -5,0 +5,0 @@ "main": "api.js",

@@ -47,2 +47,3 @@ # Unofficial TikTok API

- [hashtag](#api-public-hashtag)
- [music](#api-public-music)
- [user](#api-user)

@@ -499,3 +500,4 @@ - [profile](#api-user-profile)

|--|--|--|--|
id|query|true|The hashtag ID
id|query|false|The hashtag ID
mame|query|false|The hashtag name
count|query|false|

@@ -644,2 +646,33 @@ cursor|query|false|The starting point of items list

<h3 id="api-public-music">Music</h3>
Get posts by music ID.
```javascript
api.public.music({
id: "6873925372153465606", //required | Validate: ^[0-9]+$
//count: 30, //optional | Validate: ^[0-9]{1,2}$
//cursor: "<any>", //optional | Validate: ^[0-9]+$
})
```
<details>
<summary>Request</summary>
**GET** /public/music
|Parameter|Location|Required|Description|
|--|--|--|--|
id|query|true|The hashtag ID
count|query|false|
cursor|query|false|The starting point of items list
</details>
<details>
<summary>Response</summary>
```json
{}
```
</details>
<h2 id="api-user">User</h2>

@@ -646,0 +679,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc