#!/usr/bin/env python
import json
import csv
from rabbit_mq import RabbitMq
from pathlib import Path
from csv_bd import CsvBd

def callback(ch, method, properties, body):   
    card = json.loads(body)
    CsvBd.write_card(card)

RabbitMq.receive(callback)

84b62797fb6e0645d44e7221e884debe9a10c2bb
<mask token>

<mask token>


def callback(ch, method, properties, body):
    card = json.loads(body)
    CsvBd.write_card(card)


<mask token>

<mask token>


def callback(ch, method, properties, body):
    card = json.loads(body)
    CsvBd.write_card(card)


RabbitMq.receive(callback)

import json
import csv
from rabbit_mq import RabbitMq
from pathlib import Path
from csv_bd import CsvBd


def callback(ch, method, properties, body):
    card = json.loads(body)
    CsvBd.write_card(card)


RabbitMq.receive(callback)

#!/usr/bin/env python
import json
import csv
from rabbit_mq import RabbitMq
from pathlib import Path
from csv_bd import CsvBd

def callback(ch, method, properties, body):   
    card = json.loads(body)
    CsvBd.write_card(card)

RabbitMq.receive(callback)
