Get Public Event

"""Get events of a public asset given url to event.


from warnings import filterwarnings

from archivist.archivistpublic import ArchivistPublic

filterwarnings("ignore", message="Unverified HTTPS request")

def main():
    """Main function of getting public events."""
    # Initialize connection to ArchivistPublic
    with ArchivistPublic() as public:
        # URL is the fully-attested URL returned by archivist
        event =
        print("event", event)

if __name__ == "__main__":