Skip to content

TSMCIDevTest/vine-api

Repository files navigation

vine-api (Unofficial)

npm version Codecov Docs

Unofficial Vine App API wrapper for Node.js with vine:// deep-link support.

Note

Credits are below quick start.

Important

This project is made with GPT, So you can send pull requests and make sure you credit your work.

Install

npm install vine-api

Quick Start

const VineAPI = require("vine-api");

const vine = new VineAPI({ baseURL: "https://api.vineapp.com" });

// Featured channels
const featured = await vine.channels.getFeatured();

// Like a post — accepts id or vine:// URL
await vine.posts.like("vine://post/1234567890");

// Create a post
await vine.posts.create({
  videoUrl: "https://cdn.example.com/videos/abc.mp4",
  thumbnailUrl: "https://cdn.example.com/thumbs/abc.jpg",
  description: "hello vine!",
  entities: []
});

// Uploads
const videoUrl = await vine.uploads.video("./video.mp4");
const thumbUrl = await vine.uploads.thumbnail("./thumb.jpg");
const avatarUrl = await vine.uploads.avatar("./me.jpg");

// Users
const followers = await vine.users.getFollowers("vine://user-id/123");
await vine.users.follow(123);
await vine.users.unfollow(123);

// Timelines (deep-links)
await vine.timelines.popularNow();
await vine.timelines.tag("funny");
await vine.resolveDeepLink("vine://channels/1?name=Comedy&navRGB=33ccbf&titleRGB=ffffff");

Credits

Credits to GPT.

Credits to the vine app that is long gone.

Credits to the resource https://github.com/bruhdudeisdead/vine-docs.

About

Wierd vine social media api randomly made with GPT for no reason.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors