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

seban-rflak

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

seban-rflak

  • 0.2
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

== rflak

rflak is simple gem to use flaker.pl API. flaker.pl is polish microblogging website. For more information please visit http://flaker.pl.

You can simply user two classes Flaker and Traker. Flaker class can fetch all entries scoped with conditions described in flaker's API. You can check API http://blog.flaker.pl/api described in polish.

Flaker.fetch('user') do |flak| flak.login 'seban' flak.limit 2 flak.tag 'ruby' end

With Traker class it is possible to fetch entries from traker service. You can visit http://flaker.pl/traker to see traker in your browser.

Traker.fetch do |traker| traker.url 'http://blog.sebastiannowak.net' traker.limit 20 end

User operations

Authenticate user by login and API key.

user = User.auth('my_login', 'my_api_key')

user authenticated

user.nil? == false

user not authenticated

user.nil? == true

Create new entry, only authenticated user can post new entry

user = User.auth('my_login', 'my_api_key') Entry.create(user, { :text => "My super text" }

Get user's tags, bookmarks, followers and following users:

user.tags user.bookmarks user.followers user.following

Bookmark entry. Only authorized user can bookmark entry.

entry = Flaker.fetch('show' { |f| f.entry_id(123456) } user = User.auth('my_login', 'my_api_key') entry.bookmark(user) if user

FAQs

Package last updated on 10 Aug 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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