You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Planetary Variables come in 4 types and are further subdivided
566
-
within these types. See [Subscribing to Planetary Variables](https://docs.planet.com/develop/apis/subscriptions/sources/#planetary-variable-and-analysis-ready-source-types)
567
-
or the [OpenAPI spec](https://api.planet.com/subscriptions/v1/spec) for
568
-
more details.
559
+
See [Subscribing to Planetary Variables and Analysis Ready sources](https://docs.planet.com/develop/apis/subscriptions/sources/#planetary-variable-and-analysis-ready-source-types)
560
+
or the [OpenAPI spec](https://api.planet.com/subscriptions/v1/spec) to learn more about different product options.
Copy file name to clipboardExpand all lines: planet/subscription_request.py
+8-17Lines changed: 8 additions & 17 deletions
Original file line number
Diff line number
Diff line change
@@ -272,30 +272,24 @@ def catalog_source(
272
272
return {"parameters": parameters}
273
273
274
274
275
-
defplanetary_variable_source(
276
-
var_type: Optional[str],
277
-
var_id: str,
275
+
defsubscription_source(
276
+
source_id: str,
278
277
geometry: Union[dict, str],
279
278
start_time: datetime,
280
279
end_time: Optional[datetime] =None,
281
280
) ->dict:
282
-
"""Construct a Planetary Variable subscription source.
281
+
"""Construct a subscription source.
283
282
284
-
Planetary Variables come in 4 types and are further subdivided
285
-
within these types. See [Subscribing to Planetary Variables](https://docs.planet.com/develop/apis/subscriptions/sources/#planetary-variable-and-analysis-ready-source-types)
286
-
or the [OpenAPI spec](https://api.planet.com/subscriptions/v1/spec) for
287
-
more details.
283
+
See [Subscribing to Planetary Variables and Analysis Ready sources](https://docs.planet.com/develop/apis/subscriptions/sources/#planetary-variable-and-analysis-ready-source-types)
284
+
or the [OpenAPI spec](https://api.planet.com/subscriptions/v1/spec) to learn more about different product options.
288
285
289
286
The return value can be passed to
290
287
[planet.subscription_request.build_request][].
291
288
292
289
Note: this function does not validate variable types and ids.
293
290
294
291
Parameters:
295
-
var_type: Planetary Variable type. See documentation for all
296
-
available types. Used to be a required parameter but
297
-
is now optional and can be 'None'.
298
-
var_id: A Planetary Variable ID. See documenation for all
292
+
source_id: A source ID. See documenation for all
299
293
available IDs.
300
294
geometry: The area of interest of the subscription that will be
301
295
used to determine matches. May be a geojson-like dict or a
0 commit comments