AvrijAnalyticsUtility 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +1 -1
- data/lib/AvrijAnalyticsUtility/version.rb +1 -1
- data/lib/AvrijAnalyticsUtility.rb +2 -4
- 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: 8245944d859deffe1dd0b9f67ba04c9a58e4a028
|
4
|
+
data.tar.gz: 875c296e75037b889c5b2c72366437ecfaa2b641
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6b95605806ff01a7b70ea36eb2da15586a77dde724ffd1a8725e2e3bb67952b5bc14155204839ab4563eaaaf0ae4bc34c60301f83bceb232d92bd7b8f86acd70
|
7
|
+
data.tar.gz: 5d3b532f2182d082306d04dc78bbcc83b97bad8395d20d3d4fb46e7ca33efd10fbc60518c22ad11b006af922467884eab0690bc60b444aa7e099d4276a9213c3
|
data/Rakefile
CHANGED
@@ -4,10 +4,8 @@ require "AvrijAnalyticsUtility/APIConnection"
|
|
4
4
|
module AvrijAnalyticsUtility
|
5
5
|
|
6
6
|
#GET ALL SOCIAL MEDIA POST
|
7
|
-
def self.getAllSocialMediaPost(param_username,param_password,param_auth_uri,param_data_uri,
|
7
|
+
def self.getAllSocialMediaPost(param_username,param_password,param_auth_uri,param_data_uri,send_to_file)
|
8
8
|
query_values = {
|
9
|
-
"from" => param_date,
|
10
|
-
"to" => param_date,
|
11
9
|
"facebook" => "0",
|
12
10
|
"facebookPost" => "0",
|
13
11
|
"reddit"=>"0",
|
@@ -20,7 +18,7 @@ module AvrijAnalyticsUtility
|
|
20
18
|
conn.authenticate(param_username,param_password,param_auth_uri)
|
21
19
|
response = conn.getSocialMediaPost(param_data_uri,query_values)
|
22
20
|
if send_to_file
|
23
|
-
filename = '
|
21
|
+
filename = 'AllSocialMediaPost.json'
|
24
22
|
conn.jsonStr_to_jsonFile(response,filename)
|
25
23
|
end
|
26
24
|
return response
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: AvrijAnalyticsUtility
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Dalisay
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-06-
|
11
|
+
date: 2017-06-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|