Hi All How can I download list fo all flows with d...
# prefect-getting-started
t
Hi All How can I download list fo all flows with details. I am sorry new to prefect
n
hi @Taran Singh - we don't have a full list of flows anywhere, there's probably more than we could ever count! if you're just getting started, I would play around with this example locally after
pip install -U prefect
Copy code
from prefect import flow, task
from typing import List
import httpx


@task(retries=3)
def get_stars(repo: str):
    url = f"<https://api.github.com/repos/{repo}>"
    count = httpx.get(url).json()["stargazers_count"]
    print(f"{repo} has {count} stars!")


@flow(name="GitHub Stars")
def github_stars(repos: List[str]):
    for repo in repos:
        get_stars(repo)


# run the flow!
github_stars(["PrefectHQ/Prefect"])
and then check out Prefect Cloud for free to see how you can track your workflows from there, using the concept of deployments, blocks and automations! let us know if you run into any trouble!