File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3535 "sort-packages" : true
3636 },
3737 "require" : {
38- "php" : " ^7.4|^8 .0" ,
38+ "php" : " ~8.3 .0" ,
3939 "ext-curl" : " *" ,
4040 "ext-json" : " *" ,
41- "laminas/laminas-http" : " ^2.15 " ,
42- "laminas/laminas-json" : " ^3.3 " ,
43- "laminas/laminas-stdlib" : " ^3.6 "
41+ "laminas/laminas-http" : " ^2.19.0 " ,
42+ "laminas/laminas-json" : " ^3.6.0 " ,
43+ "laminas/laminas-stdlib" : " ^3.19.0 "
4444 },
4545 "require-dev" : {
4646 "friendsofphp/php-cs-fixer" : " ^3.4" ,
Original file line number Diff line number Diff line change 2222
2323class GTrends
2424{
25- private const GENERAL_ENDPOINT = 'https://trends.google.com/trends/api/explore ' ;
26- private const INTEREST_OVER_TIME_ENDPOINT = 'https://trends.google.com/trends/api/widgetdata/multiline ' ;
27- private const RELATED_QUERIES_ENDPOINT = 'https://trends.google.com/trends/api/widgetdata/relatedsearches ' ;
28- private const SUGGESTIONS_AUTOCOMPLETE_ENDPOINT = 'https://trends.google.com/trends/api/autocomplete ' ;
29- private const COMPARED_GEO_ENDPOINT = 'https://trends.google.com/trends/api/widgetdata/comparedgeo ' ;
30- private const CATEGORIES_ENDPOINT = 'https://trends.google.com/trends/api/explore/pickers/category ' ;
31- private const GEO_ENDPOINT = 'https://trends.google.com/trends/api/explore/pickers/geo ' ;
32- private const DAILY_SEARCH_TRENDS_ENDPOINT = 'https://trends.google.com/trends/api/dailytrends ' ;
33- private const REAL_TIME_SEARCH_TRENDS_ENDPOINT = 'https://trends.google.com/trends/api/realtimetrends ' ;
25+ private const string GENERAL_ENDPOINT = 'https://trends.google.com/trends/api/explore ' ;
26+ private const string INTEREST_OVER_TIME_ENDPOINT = 'https://trends.google.com/trends/api/widgetdata/multiline ' ;
27+ private const string RELATED_QUERIES_ENDPOINT = 'https://trends.google.com/trends/api/widgetdata/relatedsearches ' ;
28+ private const string SUGGESTIONS_AUTOCOMPLETE_ENDPOINT = 'https://trends.google.com/trends/api/autocomplete ' ;
29+ private const string COMPARED_GEO_ENDPOINT = 'https://trends.google.com/trends/api/widgetdata/comparedgeo ' ;
30+ private const string CATEGORIES_ENDPOINT = 'https://trends.google.com/trends/api/explore/pickers/category ' ;
31+ private const string GEO_ENDPOINT = 'https://trends.google.com/trends/api/explore/pickers/geo ' ;
32+ private const string DAILY_SEARCH_TRENDS_ENDPOINT = 'https://trends.google.com/trends/api/dailytrends ' ;
33+ private const string REAL_TIME_SEARCH_TRENDS_ENDPOINT = 'https://trends.google.com/trends/api/realtimetrends ' ;
3434
3535 private array $ options = [
3636 'hl ' => 'en-US ' ,
You can’t perform that action at this time.
0 commit comments