/// @brief Returns an associative array with the labcache finds from given profileId. /// /// Returned fields: guid, name, date_found /// @param[in] int $profileId An integer with the users profile id.
/// - includeLabCaches (bool): If set to true, will include labcache finds. Note that most fields returned will be null.If used, the data with Geocache finds will be merged with Labcache finds. It's a hack though. All fields except those mentioned here will be set to NULL. The LUA script must be able to handle that.
|
Re: Labcaches January 15, 2020 05:18PM |
Registered: 8 years ago Posts: 4,127 |
|
Re: Labcaches January 15, 2020 05:27PM |
Admin Registered: 10 years ago Posts: 894 |
|
Re: Labcaches January 15, 2020 06:13PM |
Admin Registered: 10 years ago Posts: 894 |
|
Re: Labcaches January 15, 2020 06:15PM |
Registered: 8 years ago Posts: 4,127 |
|
Re: Labcaches March 03, 2020 12:21PM |
Registered: 7 years ago Posts: 315 |
local finds = PGC.GetFinds(profileId, { includeLabCaches = true, fields = {'gccode', 'cache_name', 'visitdate','type', 'country'}, order = 'OLDESTFIRST', filter = filter })
local finds = PGC.GetFinds(profileId, { includeLabCaches = true })
|
Re: Labcaches March 04, 2020 08:29AM |
Admin Registered: 10 years ago Posts: 894 |
|
Re: Labcaches March 04, 2020 12:07PM |
Admin Registered: 10 years ago Posts: 894 |
|
Re: Labcaches March 04, 2020 09:32PM |
Registered: 7 years ago Posts: 315 |
local finds = PGC.GetFinds(profileId, { includeLabCaches = true })
works correctly.
PGC.GetFinds(profileId, { includeLabCaches = true, fields = {'gccode', 'cache_name', 'visitdate','type', 'country'}, order = 'OLDESTFIRST', filter = filter })
however results in some backend error (see checker). Specifically, the order parameter. Without it, it works fine.|
Re: Labcaches March 04, 2020 11:15PM |
Registered: 9 years ago Posts: 32 |
|
Re: Labcaches March 05, 2020 11:12AM |
Registered: 7 years ago Posts: 315 |
Quote
Not allowed: Trackable, Benchmarking, Waymarking logs, or specifying Lab Cache finds.
|
Re: Labcaches March 05, 2020 12:37PM |
Registered: 9 years ago Posts: 32 |
|
Re: Labcaches March 05, 2020 01:50PM |
Registered: 7 years ago Posts: 315 |
|
Re: Labcaches March 06, 2020 10:20AM |
Admin Registered: 10 years ago Posts: 894 |
> local finds = PGC.GetFinds(profileId, {
> includeLabCaches = true })
>
> works correctly.
> PGC.GetFinds(profileId, { includeLabCaches = true,
> fields = {'gccode', 'cache_name',
> 'visitdate','type', 'country'}, order =
> 'OLDESTFIRST', filter = filter })
>
> however results in some backend error (see
'gccode' => 'e71611de-13a8-42c3-8b66-879021f7bae4',
'cache_id' => 1157519609,
'cache_name' => 'Adventure 10 - Find the image',
'type' => 'Labcache',
'difficulty' => NULL,
'terrain' => NULL,
'size' => NULL,
'owner_id' => NULL,
'placed_by' => NULL,
'latitude' => NULL,
'longitude' => NULL,
'elevation' => NULL,
'hidden' => NULL,
'last_publish_date' => NULL,
'country' => NULL,
'region' => NULL,
'county' => NULL,
'archived' => NULL,
'disabled' => NULL,
'premium' => NULL,
'last_find_date' => NULL,
'last_archive_date' => NULL,
'num_finds' => NULL,
'latest_logs' => NULL,
'favorite_points' => NULL,
'favorite_points_pct' => NULL,
'favorite_points_wilson' => NULL,
'last_cache_harvest' => NULL,
'last_log_harvest' => NULL,
'log_id' => NULL,
'visitdate' => '2020-01-27',
'length' => NULL,
'words' => NULL,
'attributes_set_1' => NULL,
'attributes_set_2' => NULL,
'attributes_unset_1' => NULL,
'attributes_unset_2' => NULL,
|
Re: Labcaches March 06, 2020 11:40AM |
Registered: 7 years ago Posts: 315 |
|
Re: Labcaches March 06, 2020 11:44AM |
Admin Registered: 10 years ago Posts: 894 |
|
Re: Labcaches March 06, 2020 12:27PM |
Admin Registered: 10 years ago Posts: 894 |
|
Re: Labcaches March 06, 2020 01:27PM |
Registered: 7 years ago Posts: 315 |
|
Re: Labcaches March 08, 2020 08:53AM |
Registered: 9 years ago Posts: 32 |
|
Re: Labcaches March 08, 2020 08:57AM |
Admin Registered: 10 years ago Posts: 894 |
|
Re: Labcaches March 08, 2020 09:13AM |
Registered: 9 years ago Posts: 32 |
|
Re: Labcaches August 13, 2020 09:20AM |
Registered: 10 years ago Posts: 84 |
|
Re: Labcaches March 08, 2020 09:17AM |
Admin Registered: 10 years ago Posts: 894 |
|
Re: Labcaches March 08, 2020 03:24PM |
Registered: 9 years ago Posts: 32 |
|
Re: Labcaches March 12, 2020 05:05AM |
Registered: 10 years ago Posts: 1,861 |
|
Re: Labcaches August 13, 2020 09:31AM |
Registered: 8 years ago Posts: 4,127 |
|
Re: Labcaches August 13, 2020 09:39AM |
Admin Registered: 10 years ago Posts: 894 |
|
Re: Labcaches August 13, 2020 09:48AM |
Registered: 8 years ago Posts: 4,127 |
|
Re: Labcaches August 13, 2020 09:52AM |
Registered: 10 years ago Posts: 84 |
|
Re: Labcaches August 13, 2020 10:01AM |
Registered: 8 years ago Posts: 4,127 |
|
Re: Labcaches August 13, 2020 10:04AM |
Admin Registered: 10 years ago Posts: 894 |
|
Re: Labcaches August 13, 2020 11:10AM |
Registered: 10 years ago Posts: 84 |
|
Re: Labcaches August 13, 2020 12:53PM |
Admin Registered: 10 years ago Posts: 894 |
|
Re: Labcaches August 13, 2020 09:52AM |
Admin Registered: 10 years ago Posts: 894 |
|
Re: Labcaches August 13, 2020 11:56AM |
Registered: 10 years ago Posts: 27,951 |
|
Re: Labcaches August 13, 2020 11:05PM |
Registered: 10 years ago Posts: 1,861 |
|
Re: Labcaches May 12, 2021 12:33PM |
Registered: 9 years ago Posts: 32 |
|
Re: Labcaches May 12, 2021 12:36PM |
Admin Registered: 10 years ago Posts: 894 |