medium_scraper 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +8 -4
- data/lib/medium_scraper/version.rb +1 -1
- data/lib/medium_scraper.rb +1 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ed1949dd3be16357972561a543a18eb01ab7fc9e
|
4
|
+
data.tar.gz: c8c94f48b9deaf3625b4a07be77af3751bfd8501
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4e5eb32c5426bec7711928f03cd50264da61e2c47347c5c4a67f5f997b53f7e15d9627751a2d13035b00a73ee9ac3d20cde4ab12dcee18e41264ebff5cbad53a
|
7
|
+
data.tar.gz: f828cbd6c2ec62e1e0dd0ef2178590fac7f9500e76bf7026bf13337c6aec2f2f2f2fe25e28623c39cfc83ab2cf8b6d4c4c3015cd53295c376e8f2688f1fd71e8
|
data/README.md
CHANGED
@@ -1,8 +1,8 @@
|
|
1
|
-
#
|
1
|
+
# Medium Scraper
|
2
2
|
|
3
|
-
|
3
|
+
A read-only api for the Medium blogging platform to retrieve basic user information and the latest posts in one simple command.
|
4
4
|
|
5
|
-
|
5
|
+
I built this for the sole purpose of being able to display some of my latest blog posts on my personal site. So if you're looking for similar functionality, this should work well for you.
|
6
6
|
|
7
7
|
## Installation
|
8
8
|
|
@@ -22,7 +22,11 @@ Or install it yourself as:
|
|
22
22
|
|
23
23
|
## Usage
|
24
24
|
|
25
|
-
|
25
|
+
To retrieve an object with user and post information:
|
26
|
+
|
27
|
+
```ruby
|
28
|
+
MediumScraper::Post.latest <username>
|
29
|
+
```
|
26
30
|
|
27
31
|
## Development
|
28
32
|
|
data/lib/medium_scraper.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: medium_scraper
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryan Waits
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-10-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|