Created
March 26, 2020 00:20
-
-
Save upinetree/79aa16128e971f276cd05c9c04049f4f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# gem install qiita | |
require 'qiita' | |
items = Qiita::Client.new.list_user_items('username') | |
items.body.each { |item| File.open("items/#{item['title']}.md", 'w') { |f| f.write(item["body"]) } } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment