Skip to main content

Automate the creation of VY.NO accounts to acquire Narvesen coupons.

Project description

free-narvesen

Abusing VY's "Green Journey" campaign to get free pastry and coffee.


Background

VY is having a campaign trying to reward users for being environmentally concious through public transport. Their rewards are some discounts and coupons for a free pastry and hot beverage (coutesty of narvesen).


Proccess

All you have to do is just to register an account, confirm the email, and join the "Green Journey" program. This process has been automated in the original code and AI beautified one.


Setup

TODO: this

You'll need to implement your own handling for emails, and should have the two methods shown below.

Boilerplater Email Service Implementation

from vy import VyAccountGenerator

class MyEmailService:
    def generate_email(self) -> str:
        # Your implementation
        return f"{username}@{domain}"
    
    def get_verification_code(self, email: str) -> str:
        # Your implementation  
        return code (you need to parse it yourself)

email_service = MyEmailService()
generator = VyAccountGenerator(email_service)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vy_gen-1.0.0.tar.gz (42.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

vy_gen-1.0.0-py3-none-any.whl (29.9 kB view details)

Uploaded Python 3

File details

Details for the file vy_gen-1.0.0.tar.gz.

File metadata

  • Download URL: vy_gen-1.0.0.tar.gz
  • Upload date:
  • Size: 42.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.23

File hashes

Hashes for vy_gen-1.0.0.tar.gz
Algorithm Hash digest
SHA256 d94f2757ca86a9c8f082b80ba00ed2934ed357744f21dab35fa076638b5571b9
MD5 a69aebb4c6b5fd825d73f8a847774251
BLAKE2b-256 f07c6ed5cab0d0650287a776a0e95bbfda7a766ba09d4189fa84db9015dd1d26

See more details on using hashes here.

File details

Details for the file vy_gen-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: vy_gen-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 29.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.23

File hashes

Hashes for vy_gen-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6192c9abf9959f43499a1e9cc8f6958d8cbcc0d82be6a6d566ff370f3a93a596
MD5 e419cfe4244d39913bde7e83fba2d82d
BLAKE2b-256 849c7878e14f51de59ab731b829ec453788cde4f4696a5856258ec282566e379

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page