Skip to content

Instantly share code, notes, and snippets.

View kmkr's full-sized avatar
🌄
Gathering sunrays

Kris-Mikael Krister kmkr

🌄
Gathering sunrays
View GitHub Profile
{"query":"*[_type == \"customerOnboardingPage\"]","result":[{"_createdAt":"2021-07-08T10:15:37Z","_id":"13d412f9-32a8-4bc8-bee8-024a13985c70","_rev":"2I4geY66mZtSeP9bJomTYA","_system":{"base":{"id":"13d412f9-32a8-4bc8-bee8-024a13985c70","rev":"7UX2VutFv7CxwAsu0pdLuD"}},"_type":"customerOnboardingPage","_updatedAt":"2025-08-06T07:42:31Z","contactConfig":{"hideInstaller":true,"hideOtovo":true},"customerOnboardingPageFields":[{"_key":"b0531a206138","_type":"stepType","description":"Twoja umowa z Otovo została podpisana. Rozpoczynamy pracę nad Twoim projektem!\nPrzypominamy, że aby móc rozpocząć realizację, potrzebujemy wpłaty pierwszej zaliczki.\nPłatności należy dokonać na rachunek bankowy Otovo: 52 1140 1010 0000 2568 3900 1001 (mBank).\nW tytule przelewu prosimy wpisać numer Klienta oraz adres nieruchomości.\nSzczegóły dotyczące płatności znajdziesz na trzeciej stronie umowy.","headline":"Kontrakt podpisany","step":[{"_key":"f42f23e79c74","_type":"actionItem","conditionalRendering":[{"_key":"3927a63c232f","_t
@kmkr
kmkr / surfaces.py
Created January 16, 2023 12:03
Surface code (refactoring)
def get_surfaces(address: Address) -> list[dict]:
response = _make_request(
settings.SURFACES_SERVICE_URL,
cadastral_unit_id=address.cadastral_unit_id,
cadastral_address_id=address.cadastral_address_id,
)
if 'application/json' in response.headers.get('Content-Type'):
data = response.json()
response_status = data.get('ResponseStatus', {})

Keybase proof

I hereby claim:

  • I am kmkr on github.
  • I am kmkr (https://keybase.io/kmkr) on keybase.
  • I have a public key whose fingerprint is B97A 9D1A FD18 8831 2557 610F 66DD 0675 9BCA 6E26

To claim this, I am signing this object: