Skip to content

lininglink/tiktok

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tiktok

This is a Ruby gem can call TikTok API.

Installation

Install the gem and add to the application's Gemfile by executing:

bundle add tiktok --github=lininglink/tiktok

This gem is not on rubygems.org. Do not run gem install tiktok or bundle add tiktok (there is a name of this gem for a different gem)

Usage

  • Tiktok::Query takes access_token.
  • Tiktok::Query#fetch_account returns a Tiktok::Account object.
query = Tiktok::Query.new(access_token: "act.SmSfTu7...")
account = query.fetch_account
account.display_name

Development

After checking out the repo, run bin/setup to install dependencies. You can also run bin/console for an interactive prompt that will allow you to experiment.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/lininglink/tiktok. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the code of conduct.

License

The gem is available as open source under the terms of the MIT License.

Code of Conduct

Everyone interacting in the Tiktok project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.

About

No description, website, or topics provided.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors