Skip to content

Commit f2b95bf

Browse files
committed
Merge pull request #5 from skipperbent/master
Latest master
2 parents 5372406 + cc77283 commit f2b95bf

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ $tinder->recommendations();
8181

8282
## The MIT License (MIT)
8383

84-
Copyright (c) 2015 Simon Sessingø / simple-php-router
84+
Copyright (c) 2015 Simon Sessingø / tinder-php-sdk
8585

8686
Permission is hereby granted, free of charge, to any person obtaining a copy
8787
of this software and associated documentation files (the "Software"), to deal

src/Pecee/Http/Service/Tinder.php

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,10 @@ protected function authenticate() {
5757
}
5858
}
5959

60+
public function meta() {
61+
return $this->api('meta');
62+
}
63+
6064
public function reportUser($userId, $causeId) {
6165
return $this->api('report/' . $userId, self::METHOD_POST, array('cause' => $causeId));
6266
}
@@ -77,12 +81,16 @@ public function like($userId) {
7781
return $this->api('like/' . $userId);
7882
}
7983

84+
public function superLike($userId) {
85+
return $this->api('like/' . $userId .'/super/');
86+
}
87+
8088
public function pass($userId) {
8189
return $this->api('pass/' . $userId);
8290
}
8391

84-
public function updates() {
85-
return $this->api('updates');
92+
public function updates($lastActivityTime = '') {
93+
return $this->api('updates', self::METHOD_POST, array('last_activity_date' => $lastActivityTime));
8694
}
8795

8896
public function recommendations() {

0 commit comments

Comments
 (0)