proz 2.0.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -92
- data/lib/proz/get_wiwo_entry.rb +1 -1
- data/lib/proz/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 57f90d542719aca1a954c694918be17b8ebf88fd
|
4
|
+
data.tar.gz: 2f2283b31cf9d167f1332b124ebb001fce2fc5af
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a65cb1653a07d620c88f14da2171543c4660e1c56f5e9e1ff505f502ebd2d3da3a48fd2b82dbdb66d2986f6cd30ceb5955d78f74bc39f35ae98fe5e4f2880fab
|
7
|
+
data.tar.gz: b47b0c12277a810b93f1c0c669137b7daf04e5a6f091133046e3936468d502b3d51e76198a6261d393237464e4df2d16f4afd922dddc7acfabcd92010ee89eed
|
data/README.md
CHANGED
@@ -67,97 +67,6 @@ Note that all referenced users are included in the response (using "side loading
|
|
67
67
|
wiwo = Proz::WiwoEntries.new(key: 'yourAPIkey')
|
68
68
|
wiwo.entries
|
69
69
|
|
70
|
-
# => {
|
71
|
-
# "_links": {
|
72
|
-
# "self": {
|
73
|
-
# "href": "https://api.proz.com/v2/wiwo"
|
74
|
-
# },
|
75
|
-
# "next": {
|
76
|
-
# "href": "https://api.proz.com/v2/wiwo?page=2"
|
77
|
-
# },
|
78
|
-
# "prev": {
|
79
|
-
# "href": null
|
80
|
-
# }
|
81
|
-
# },
|
82
|
-
# "wiwos": [
|
83
|
-
# {
|
84
|
-
# "id": 110,
|
85
|
-
# "self_link": "https://api.proz.com/v2/wiwo/110",
|
86
|
-
# "time": "2016-07-12T15:51:10+00:00",
|
87
|
-
# "user_eid": 1943273,
|
88
|
-
# "user_link": "https://api.proz.com/v2/users/fcfc20dc-bac6-41bd-8dbe-897e5aeefaac",
|
89
|
-
# "message": "Law-related articles from Arabic to Italian. About 30k words. Really demanding!",
|
90
|
-
# "message_language": null,
|
91
|
-
# "source_language": null,
|
92
|
-
# "target_language": null,
|
93
|
-
# "wordcount": null,
|
94
|
-
# "disc_gen_id": null,
|
95
|
-
# "disc_spec_id": null,
|
96
|
-
# "discipline": null,
|
97
|
-
# "cat_tool": null,
|
98
|
-
# "public": true,
|
99
|
-
# "num_replies": 3,
|
100
|
-
# "replies": [
|
101
|
-
# {
|
102
|
-
# "id": 1,
|
103
|
-
# "wiwo_id": 110,
|
104
|
-
# "wiwo_link": "https://api.proz.com/v2/wiwo/110",
|
105
|
-
# "time": "2016-07-11T19:02:54+00:00",
|
106
|
-
# "user_eid": 41429,
|
107
|
-
# "user_link": "https://api.proz.com/v2/users/32a9a4d0-cb6e-463f-a0ab-63d0a0418bc7",
|
108
|
-
# "message": "Test wiwo reply",
|
109
|
-
# "message_language": null
|
110
|
-
# },
|
111
|
-
# {
|
112
|
-
# "id": 2,
|
113
|
-
# "wiwo_id": 110,
|
114
|
-
# "wiwo_link": "https://api.proz.com/v2/wiwo/110",
|
115
|
-
# "time": "2016-07-11T19:03:38+00:00",
|
116
|
-
# "user_eid": 41429,
|
117
|
-
# "user_link": "https://api.proz.com/v2/users/32a9a4d0-cb6e-463f-a0ab-63d0a0418bc7",
|
118
|
-
# "message": "Test wiwo reply",
|
119
|
-
# "message_language": null
|
120
|
-
# },
|
121
|
-
# {
|
122
|
-
# "id": 3,
|
123
|
-
# "wiwo_id": 110,
|
124
|
-
# "wiwo_link": "https://api.proz.com/v2/wiwo/110",
|
125
|
-
# "time": "2016-07-11T19:04:48+00:00",
|
126
|
-
# "user_eid": 41429,
|
127
|
-
# "user_link": "https://api.proz.com/v2/users/32a9a4d0-cb6e-463f-a0ab-63d0a0418bc7",
|
128
|
-
# "message": "Test wiwo reply",
|
129
|
-
# "message_language": null
|
130
|
-
# }
|
131
|
-
# ]
|
132
|
-
# },
|
133
|
-
# { ... }
|
134
|
-
# ],
|
135
|
-
# "users": [
|
136
|
-
# {
|
137
|
-
# "self_link": "https://api.proz.com/v2/users/3f9f64e5-5ef7-4641-98aa-df01a228f44c",
|
138
|
-
# "uuid": "3f9f64e5-5ef7-4641-98aa-df01a228f44c",
|
139
|
-
# "site_name": "Alice Wolfe, DDS",
|
140
|
-
# "account_type": 2,
|
141
|
-
# "freelancer_profile_link": "https://api.proz.com/v2/freelancer/3f9f64e5-5ef7-4641-98aa-df01a228f44c",
|
142
|
-
# "profile_url": "http://www.proz.com/profile/610",
|
143
|
-
# "image_url": "https://static-ssl.proz.com/profile_resources/610_r4cd97b7149061.jpg",
|
144
|
-
# "is_proz_member": true,
|
145
|
-
# "proz_membership_type": "individual",
|
146
|
-
# "is_cpn": true,
|
147
|
-
# "cpn_language_pair": "eng_dan",
|
148
|
-
# "native_languages": [
|
149
|
-
# "dan"
|
150
|
-
# ],
|
151
|
-
# "timezone": "America/New_York",
|
152
|
-
# "country": "us",
|
153
|
-
# "skype": "awolfe"
|
154
|
-
# },
|
155
|
-
# { ... }
|
156
|
-
# ]
|
157
|
-
# }
|
158
|
-
|
159
|
-
|
160
|
-
wiwo = Proz::WiwoEntries.new(key: 'yourAPIkey')
|
161
70
|
# Filter the returned WIWOs
|
162
71
|
# Options include:
|
163
72
|
# * user_uuid (string)
|
@@ -229,7 +138,7 @@ Proz::PostWiwoEntry.new(
|
|
229
138
|
latitude: 40.706872,
|
230
139
|
longitude: -74.011254,
|
231
140
|
show_location: 1
|
232
|
-
}
|
141
|
+
},
|
233
142
|
representative_terms: ['term 1', 'term 2', 'term 3', 'term 4', 'term 5']
|
234
143
|
).post
|
235
144
|
```
|
data/lib/proz/get_wiwo_entry.rb
CHANGED
@@ -13,7 +13,7 @@ module Proz
|
|
13
13
|
|
14
14
|
def get
|
15
15
|
if include_private
|
16
|
-
self.class.get("/wiwo?user_uuid=" + user_uuid + "
|
16
|
+
self.class.get("/wiwo?user_uuid=" + user_uuid + "&include_private=1",
|
17
17
|
headers: { 'Authorization' => "Bearer #{token}" } )
|
18
18
|
else
|
19
19
|
self.class.get("/wiwo?user_uuid=" + user_uuid,
|
data/lib/proz/version.rb
CHANGED